Jan 08, 2008 21:01
Note that cp copies hard linked files as separate files. If you need to preserve hard links, consider using tar(1), cpio(1), or pax(1) instead.
... not to mention:
#cp -a sausedir dest
cp: illegal option -- a
LOLWUT? no support for -a?!?
Isn't support -a being a normal thing from like, last century? Jesus, this is just barbaric. What, am I supposed to feel good about having to keep my unix jedi skills sharp by crafting up tar pipes just to copy a directory accurately from the command line?
Now I know what BSD really stands for in MacOSX: Bull Shit Directives.
tar -cf - Original | tar -C Destination -xf -
it is then ...