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.
PERL Script to compare and copy fil
Name: nterasas Date: June 1, 2006 at 10:39:45 Pacific OS: Windows XP CPU/Ram: P4 - 3.06Ghz 512MB RAM Product: SysteMax
Comment:
My boss had a bad crash on his HDD. I sent the HDD out for recovery and got back a boat load of data files. What I need now is a script that will compare the recovered files with the files that we were able to retrieve from a backup that was taken a month ago. Then, copy any newer or recovered files to a directory for his review. I need this as soon as possible. Any help will be appreciated.
Name: Mechanix2Go Date: June 1, 2006 at 12:11:05 Pacific
Reply:
Are the recovered files bearing their original names or do you have some mess like:
file.001 ... file.455
?
If at first you don't succeed, you're about average.
M2
0
Response Number 2
Name: nterasas Date: June 1, 2006 at 12:53:26 Pacific
Reply:
The recovered files have their original names and extensions. I am just trying to compare the dates to see if the recovered file is newer than what I was able to get from a backup copy.
Thanks,
Nick Terasas
0
Response Number 3
Name: Mechanix2Go Date: June 1, 2006 at 21:17:39 Pacific
Reply:
Hi Nick,
I got your email.
I understand that you want to copy recovered files if they are newer.
You should check the list of recovered files to see if the dates are credible. The recovery may have changed the dates.
Check date created as well as date last written.
If at first you don't succeed, you're about average.
Summary: hi there, i need to write a program that able to list all file and sub directory file to a text file then compare the folder and sub directory with the list to match the different then copy them to a ...
Summary: hello all, i'm using a Perl script to read an old database then convert to a new schema. For every record read (currently around 15k, but in production 100k), the script could generate anywhere ...