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.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.