Hi all,
Could anyone suggest me on Renaming a file to a file_current datetime in a shell script.
Hi all,
Could anyone suggest me on Renaming a file to a file_current datetime in a shell script.
Like this...
mv ABC.zip ABC_`date +%m%d%y`.zip
mv ABC.zip ABC`date '+%m%d%y'`.zip
code like..you can use rename/mv
rename ABC.zip ABC`date '+%m%d%y'`.zip