Hi All,
I use "cp -R /fs/* /newfs" and I can copy everything except it won't have the files/directories the same privileges.
Is there a trick to this without using a software-backup.
Thanks in advance,
itik
Hi All,
I use "cp -R /fs/* /newfs" and I can copy everything except it won't have the files/directories the same privileges.
Is there a trick to this without using a software-backup.
Thanks in advance,
itik
the command is like this "cp -R -p -h /fs/* /newfs"
forgot it already...
try
cd orig_dir
find . -print | cpio -pudl /dest_dir
or:
# cd /old/fs
# tar -cf - | (cd /new/fs ; tar -xf - )
bakunin