467,108 Members | 1,282 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,108 developers. It's quick & easy.

Modified files


Can anyone help me on how do i check if a file is modified or not? In case I have 10 files and only two files are modified at a time how will i get the files only which are modified at that particular time? Is there any perl for this?
Oct 21 '08 #1
  • viewed: 1530
2 Replies
Expert Mod 2GB
I am not quite sure where you are going with this, but if you want to check and see if a file has been modified, then you are going to have to have something to compare it against. Like a back up copy for instance. Once you make any changes, you immediately back up the file to an archive and you can then compare the two and see if they are identical. Is that what you are asking?


Oct 21 '08 #2
Yes exactly. I have backed up a copy all 10 files. Out of the present 10 files two files are modified and then I am including the backed up data into them. But currently even for the files which are not modified, the back up is getting added. What i want it only for the two files to have New+back up data. The other files have to be left alone.
Oct 21 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by RAMohrmann@adelphia.net | last post: by
1 post views Thread by gdubois@deloitte.vg | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.