• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Copy folder shell scripting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy folder shell scripting


  • Subject: Re: Copy folder shell scripting
  • From: "Mark J. Reed" <email@hidden>
  • Date: Thu, 24 Apr 2008 09:59:59 -0400

On Thu, Apr 24, 2008 at 1:53 AM, ba95 <email@hidden> wrote:
  I want to copy folders "#1" and "#2", both located on HD "B", to HD "A",
> with replacing, but only if folders #1 and #2 are different on HD "A".

rsync -a /Volumes/A/Path/To/Folder/1 /Volumes/B/Path/To/Folder/1
rsync -a /Volumes/A/Path/To/Folder/2 /Volumes/B/Path/To/Folder/2

Probably a way to do that in one command line..

--
Mark J. Reed <email@hidden>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Copy folder shell scripting
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Copy folder shell scripting (From: ba95 <email@hidden>)

  • Prev by Date: Re: Copy folder shell scripting
  • Next by Date: Re: Copy folder shell scripting
  • Previous by thread: Re: Copy folder shell scripting
  • Next by thread: Re: Copy folder shell scripting
  • Index(es):
    • Date
    • Thread