|
|
tar works just as well in most cases
I dunno; I never really got to like using 'cp -R'; I learned a trick with multiple piped tar's a while back, and have pretty much used it exclusively since then:
does a great job for everything I've ever needed it for. Plus it has the added benefit that it can be piped through things like ssh (or rsh if you're brave):
Toss a '-p' in the arguments for each tar, and you even get the permissions translated across. Do the command as root (on both sides, mind, if you're using the ssh cross-server method), and the ownership isn't even modified; UID and GID are preserved. Of course if you are moving files between servers, it's necessary to remember that these commands use numeric UID/GIDs and not usernames; user "johnsmith" might be uid 501 on one system, but 502 or 1006 on another.
tar works just as well in most cases
So... do you put the ending slash on [source] and [destination]? :-) |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.08 seconds |
|