On Wednesday 30 March 2005 5:39 am, Stephen McKay wrote: > Still, if you are using tar, be sure to use it correctly: > > ( cd srcdir && tar cf - . ) | ( cd destdir && tar xpf - ) > > You don't want it going off in the current directory and mangling things > just because of a little typo in a directory name. I wonder, how does this compare to using cpio -p? cd srcdir && find -d . -print0 | cpio -p -0d /absolute/destdir (other than tar's syntax being easier to remember than cpio) gtar used to have problems with truncating device nodes to 16 bits; not that it's as much of an issue in the modern era with devfs. CraigReceived on Wed Mar 30 2005 - 10:58:58 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:30 UTC