I have a problem with files getting lost while transferring and getting a power surge the day before. What is happening is I have to transfer files from the day before to create an "End of Day." I use the Julian Date to refer to the previous date say for 10/7/07 I would use 07280 where 07 is the year and 280 is the Julian date. So when the server is transferring files at night and I get a power surge, the files are not there the next day. I need to create a script something like:
find eal*.n where n=date ...
Something like that, please help ???
Well, depending on your options, if you've got files like
where n= file create date, most people use the convention that n will be formatted like: YYYYMMDD.
This makes it easy to sort files at the cmd line and is also easy for people to read.
You can then simply search for files whose 'extension' is > desired date.
One option is to use rsync, which will only copy any differences it can find between the src and tgt machines::/directory.
(Will do on the fly compression and can use ssh protocol if reqd).
Thank you soooo much, I finally got a reply from someone who understands what I'm going through. This sounds more like what I'm looking for. I will look at this again and let you know what I decided and if it works. Thanks ...
|All times are GMT -5. The time now is 05:09 AM.|