7z backup with date
By technese - Last updated: Thursday, March 1, 2012 - Save & Share - Leave a Comment
7z command-line for Windows
7z a -t7z C:\BackupFileName_%date:~10,4%_%date:~4,2%_%date:~7,2%.7z -r
"C:\FolderToBeBackup\*%date:~10,4%_%date:~4,2%_%date:~7,2%*"
7z command-line for Linux
7z a -t7z 7z a -t7z filename_`date +%F`.7z -r foldername
Posted in General • • Top Of Page