![]() |
adding timestamp to name
was thinking of making a very easy backup thingy to backup a single directory.
i'll make a simple cron script like this cp <directory> /mnt/hdd2/backup/ -R now, my question is: is there any way of adding a timestamp to the destination name? like <dest.directory><current date> ? |
just add `date format here, see manpage` INCLUDING backticks to the filename
|
thanks
|
All times are GMT -5. The time now is 06:16 PM. |