Authored by: Anonymous on Monday, June 24 2013 @ 04:16 AM EDT |
Look out with tar - some versions need a special option to restore special modes
on the files it extracts (such as set-user-id).
I usually use rsync since it can be restarted and will check what it has done
already.[ Reply to This | Parent | # ]
|
|
Authored by: Anonymous on Monday, June 24 2013 @ 05:21 AM EDT |
tar should have an opion (C iirc) to change to that dir; something like:
tar cf - . | tar xvCf <other_place> -
[check man page for details][ Reply to This | Parent | # ]
|
|
Authored by: red floyd on Monday, June 24 2013 @ 06:58 PM EDT |
GNU tar 1.26 (Cygwin 1.26-1) doesn't appear to archive special files.
I prefer a combination of find and cpio.
find . -depth -print | cpio -dump dest_dir
---
I am not merely a "consumer" or a "taxpayer". I am a *CITIZEN* of the United
States of America.
[ Reply to This | Parent | # ]
|
|