Adding a Date to a Tar file in Linux
You may want to add the day’s date to a backup file, especially if you are running it as a cron job. The following code example will Gzip Tar the files into a compressed archive with the date inserted:
tar czvf /backups/backup-date +%y%m%d.tgz /files-to-backup/.
where:
%d = day (2 digit) %m = month (2 digit) %y = year (2 digit)
0 TrackBacks
Listed below are links to blogs that reference this entry: Adding a Date to a Tar file in Linux.
TrackBack URL for this entry: http://cyberissues.eu/cgi-bin/mt-tb.cgi/16
Debbie said, he deserves an Oscar. christian louboutin Heas been large with his associate as yet merely I feel favor this is the first period heas actually stood out. I think he gave even more because Jessi wasnat therea? copy watches copy watches discount party dresses discount party dresses fake rado fake rado . . the boy kick every unattached mark replica franck muller watches replica franck muller watches . Great job. youtube tAoWFV2d6P4&NR1 Rank Hok & Jamie Sabra & Dominic Pasha Sarah & Jesus Lacey & Kameron Shauna & Cedric Neil & Lauren Anya & Danny Awesome, awesome show! None sucked! Seriously, Iam so impressed with this season because the class of talent is so high. Pretty many anyone who works by this