I have ifc1410-ioxos-161103 in /export/nfsroots/, and would like to copy the entire dir in the different name.


$ mkdir ifc1410-ioxos-161103-rules-test


$ cd ifc1410-ioxos-161103


$ sudo -E tar cf - . | (cd /export/nfsroots/ifc1410-ioxos-161103-rules-test/ && tar xBf -)


Reference   http://www.linuxdevcenter.com/pub/a/linux/lpt/18_16.html

posted by citadel