move a file to same location with a different extention
I have a rsyncd.log file that I would like to move on a weekly basis.
If possible I would like to take this rsycnd.log file and move it to same location with the current MMDDYY extention
ex: mv rsyncd.log rsyncd.log.062508 << How can I script to add current
date timestamp.
Thank you
|