Find the answer to your Linux question:
Results 1 to 2 of 2
Ok I'm missing something simple. (mac OSX 10.6.8 if that matters) When I run this, it creates a sub folder (popbox/popbox) on the destination. How do it o it to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2012
    Location
    Gitmonation Bubbaville
    Posts
    1

    Exclamation rsync prob


    Ok I'm missing something simple.
    (mac OSX 10.6.8 if that matters)

    When I run this, it creates a sub folder (popbox/popbox) on the destination. How do it o it to just the top 'popbox' folder (the source is from my home folder, the destination is a second level folder on the root of a NAS.

    Code:
    rsync -r -u -p -E ~/popbox /Volumes/open/
    (-r is recursive, -u is update, -p is preserve permissions, and -E is preserve executable on the Mac)

    (And just a quick newbie Q, it should make both source and dest folders identical, no?)

    TIA



    EDIT: Nevermind, found the prob, adding a '/' to the source.
    Last edited by anode; 10-07-2012 at 01:01 PM. Reason: found the prob

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    Posts
    11,539
    Glad you sorted this out. Please show your new rsync command w/ options so others can learn from your travails! Thanks.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

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