How to Create Time Stamped Archive

Adding Time Stamp to the Directory

The following code will be used to record the time stamp while the archive is created. Time stamp is the time on which the the event has been recorded by the computer. In this function the date, year, month details will be added to the archived file details that is the time on which the archive is created

Perl Code to Create Time Stamped Archive

$ tar cvzf `date +%Y%m%d`_mydir.tar.gz mydir

Related Topic How to Backing-Up and Restoring Desktop Datas in linux Machine
How to Create tar.gz and tar.bz2
A to Z Linux Commands quick reference sheet
Google Services Data Liberation
SSH Secured Shell Configurations and Security Best Practices
Perl 2011   Privacy Policy  Terms of Service  Feedback