image
image

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

Reply
 
Thread Tools
  #1  
Old June 28th, 2007, 10:19 PM
solrac's Avatar
Quad 6 ghz G5 Tower
 
Join Date: Oct 2000
Location: LA, CA
Posts: 840
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, 10:31 AM
Natobasso's Avatar
Tech-Bot 5000
 
Join Date: Jul 2002
Location: Yo' Mama's House
Posts: 2,865
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.
__________________
Powerpoint is not a design application
Reply With Quote
  #3  
Old June 29th, 2007, 01:30 PM
Registered User
 
Join Date: Jun 2002
Location: USA
Posts: 2,426
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

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

vB 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 04:36 PM.


Mac Support® Version 3.7.0 Beta 5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.