Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
add date to filename
Name: gjoob Date: February 19, 2003 at 06:59:36 Pacific OS: Compaq Tru64 Unix
Comment:
I have written a script to automatically ftp a file from one server to another. I want to add the date and time to the extension of my file name.
If my script has target_name=library. how do I add the current date to the extension?
Summary: Dear All, My OS : Solaris and Shell is ksh. I have a requirement to assign date to a variable. I tried following and failed. myvar=date '+ %y%m%d_%h' After that I need to do an awk fo all the files co...
Summary: Can I convert current date to second, and sum it with 10800 (seconds for 1 week) and convert again the result to date to get the actual date in next week (7 days forward from current date) ? ...