|
-
January 28th, 2002, 01:39 PM
#1
File Copying
Hi,
I need to copy a large amount of files from one computer to another. In order to speed up the process I want to only copy the source files that are different then the destination. For example: copy only files with a different "last modified date," the source file could be older or newer but if it is the same than no copying should take place. Basicly I want to make a replica of the source computer as fast as possible by copying only the changed files.
If you could offer any help on how I should go about doing this it would be a big help. What scripting language would be most appropriate?
Thanks for your help.
-
January 28th, 2002, 08:16 PM
#2
Re: File Copying
If you make a slight change in the description of things... "the file is copied if it has been saved to disk after the last copy operation", (that is, even if someone just opened the editor and saved the file as it is again, it will be copied in next copy operation), then in Windows, a simple .BAT batch file would do that job. (hint: read about the "ARCHIVE" attribute of files in Windows..). If you are on any Linux/Unix platforum, then nothing is better than Perl/Python to do the job. 
Manish
http://www.manishmalik.com
Discuss it all at the Developer Forum : http://www.codeguru.com/cgi-bin/bbs/...Board=devforum ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|