I am looking for some scripting help. I need to add a time stamp to a file name.
I will append data to a file, and want to add to the file name a time stamp of the previous Sundays date. Any takers?
I am looking for some scripting help. I need to add a time stamp to a file name.
I will append data to a file, and want to add to the file name a time stamp of the previous Sundays date. Any takers?
Check these
http://www.unix.com/unix-dummies-questions-answers/143462-append-previous-days-date-filename.html
http://www.unix.com/unix-dummies-questions-answers/16395-renaming-files-have-date-time-filename.html
user@Imperfecto_:~$ date -d last-sunday
Sun Aug 11 00:00:00 IST 2013
Oh and I found these links using a magic trick aka "Search"!
--ahamed