Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    solrac's Avatar
    solrac is offline Mac Ninja
    Join Date
    Oct 2000
    Location
    LA, CA
    Posts
    842
    Thanks
    0
    Thanked 0 Times in 0 Posts

    help with advanced file copying techniques

    Is it possible to copy to multiple directories and ignore unchanged files?

    Commandline is fine.

    directory tree 1:
    file1.txt
    file2.txt

    directory tree 2:
    file1.txt (identical to file1.txt above)

    directory tree 3:
    {blank}

    I want a one line copy command (hopefully) that will do the following:

    copy ALL files from directory 1 to BOTH directory 2 and 3 simultaneously. (By simultaneously i mean with ONE command)

    will NOT copy file1.txt to directory 2 because it is identical, so skip it. (Only copy "NEW" or "CHANGED" files)

    Thanks!

  2. #2
    Natobasso's Avatar
    Natobasso is offline Tech-Bot 5000
    Join Date
    Jul 2002
    Location
    Auckland, New Zealand
    Posts
    3,370
    Thanks
    1
    Thanked 24 Times in 23 Posts
    Say you have two identical file folders, one a back up and one the original/worker. If you copy all contents from the original to the back up it will ask you if you want to replace all or just the older files in the back up directory.

    Be careful of folders within folders as they need to be copied individually.

  3. #3
    MisterMe is offline Registered User
    Join Date
    Jun 2002
    Location
    USA
    Posts
    3,986
    Thanks
    7
    Thanked 140 Times in 136 Posts
    Quote Originally Posted by solrac View Post
    Is it possible to copy to multiple directories and ignore unchanged files?

    ...
    You want backup software. For this, I use Qdea's Synchronize Pro X. It is shareware, but works without paying the fee. If you pay the fee, it works automatically. There are other backup utilities as good, but none are better.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •