[CentOS] copying files between hosts
Michael Kratz
mkratz at internode.com.au
Sat Jul 28 07:35:03 UTC 2007
simon wrote:
> Dear All,
>
> i need to copy mail files from my REDHAT Linux old server to my CENTOS new
> server
>
> these files in mbox formay in/var/mail directory
>
> i need to preserve permissions as well the the modification date n time
>
> i tried using scp it works fine but i can the file permissions r not
> preserved but the date n time is preserved
use tar, tar them up into one big file, then scp that file across, then
untar them.
Cheers,
Michael
More information about the CentOS
mailing list