image
image

Go Back   macosx.com > Mac Help Forums > Mac OS X System & Mac Software

Reply
 
LinkBack Thread Tools
  #1  
Old June 28th, 2007, 11:19 PM
solrac's Avatar
Quad 6 ghz G5 Tower
 
Join Date: Oct 2000
Location: LA, CA
Posts: 840
Thanks: 0
Thanked 0 Times in 0 Posts
solrac is on a distinguished road
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!
__________________
-Soon 2 B mkiv Toyota Supra Twin Turbo 6 Speed --- supraforums.com-
Reply With Quote
  #2  
Old June 29th, 2007, 11:31 AM
Natobasso's Avatar
Tech-Bot 5000
 
Join Date: Jul 2002
Location: Auckland, New Zealand
Posts: 3,270
Thanks: 1
Thanked 16 Times in 16 Posts
Natobasso is on a distinguished road
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.
__________________
http://thesalon.blogspot.com
Reply With Quote
  #3  
Old June 29th, 2007, 02:30 PM
Registered User
 
Join Date: Jun 2002
Location: USA
Posts: 3,019
Thanks: 5
Thanked 50 Times in 50 Posts
MisterMe will become famous soon enough
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.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 08:05 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.