code_junkie

How to use ditto on OS X to work like cp -a on Linux

Nov 11th, 2011
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. -p = preserve mode,ownership,timestamps
  2. -R = recursive
  3. -d = no dereference and preserve links
  4.  
  5. -p = preserve
  6. -R = recursive
  7. -P = no symbolic links are followed -- can be added but this is the default behavior
  8.  
  9. cp -dRL src target
Add Comment
Please, Sign In to add comment