datestamped file name (backup)
date: 2014-12-31 06:17:09+00:00
tar czf ./backup_$(date +%G-%m-%dT%H:%M).tar.gz myImportantFiles
Will create a compressed archive of myImportantFiles/ and then save the results with a nice ISO 8601 timestamp.
date: 2014-12-31 06:17:09+00:00
tar czf ./backup_$(date +%G-%m-%dT%H:%M).tar.gz myImportantFiles
Will create a compressed archive of myImportantFiles/ and then save the results with a nice ISO 8601 timestamp.