moving a file
I want to move a file and give a new name with the date stamp.
I tried that as below with no success. #mv update.log update.log-`date' |
if that was your exact code you forgot the space between .log and your arguement. I'll try doing it(I just use window managers for crap like that) and post back(or more likely edit)
edit: mv has no such date option. you really should have used mv --help or man mv before posting so you could figure it out. |
any ideas?
|
try using double quotes
Code:
mv update.log "update.log-`date`" |
thanks
|
All times are GMT -5. The time now is 07:29 AM. |