I'm sure this has come up before but I am not having much luck searching.
In order to FTP a log file on a daily basis from a Solaris machine and ensure that each file received has a modified name with the current day's date, I'm guessing I would neet to write a small script that pulls the current date and then call an FTP script which then sends the file in a NAMEmmddyy format - I'm thinking using the "date '%m%d%y'" to get the date and then appending that to the end of the filename during transmission.
How would you all recommend going about doing this?
Thanks in advance! (I hope this is in the more appropriate forum)
In order to FTP a log file on a daily basis from a Solaris machine and ensure that each file received has a modified name with the current day's date, I'm guessing I would neet to write a small script that pulls the current date and then call an FTP script which then sends the file in a NAMEmmddyy format - I'm thinking using the "date '%m%d%y'" to get the date and then appending that to the end of the filename during transmission.
How would you all recommend going about doing this?
Thanks in advance! (I hope this is in the more appropriate forum)