Comment by jhallenworld
1 hour ago
I never bothered to learn -C, instead I use:
tar -cf - . | (cd <dest>; tar -xf -)
For doing something like duplicating root of a filesystem you may want --one-file-system.
1 hour ago
I never bothered to learn -C, instead I use:
tar -cf - . | (cd <dest>; tar -xf -)
For doing something like duplicating root of a filesystem you may want --one-file-system.
No comments yet
Contribute on Hacker News ↗