Timeline for Archive file with date-stamp
Current License: CC BY-SA 3.0
2 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 16, 2014 at 14:41 | comment | added | waseem hasan |
Thanks Netikras, i used the below script and it worked fine: #!/bin/sh TODAYS_DATE=date +%Y%m%d; export TODAYS_DATE for file in ls /u001/users/autosys/wahasan/CHKNB*.pos #while [ "$file" != "CHKNB*.POS" ] do mv $file /u001/users/autosys/wahasan/old/basename $file.$TODAYS_DATE done
|
|
| Dec 16, 2014 at 13:05 | history | answered | netikras | CC BY-SA 3.0 |