Add date into a path
by
Wyden Silvan
—
last modified
19.01.2010 11:51
To add the date into a path (e.g. for backups):
datum=$(date +"%Y")-$(date +"%m")-$(date +"%d")
tar -cvf /backup/mybackup_$datum.tar /home
