Thats what i ended up doing guys
cd /home; ssh 'cd /home; tar -cf - `cat /home/seb/users`' |
tar xf -
Thanks for the help
Regards
Seb
On Sat, 2002-11-09 at 00:23, Manuel Soto wrote:
> Why don't you use tar or cpio and then transfer only one file and
> restore files and attributes from this f
On Thu, 2002-11-07 at 19:13, Sebastian McDonagh wrote:
> Time to change over the mail server and am copying down /home to the new
> server. I am currently trying to do this via scp, now i dont claim to
> be any expert but from reading the man pages on scp i should be able to
> use the -rp switches
Why don't you use tar or cpio and then transfer only one file and
restore files and attributes from this file?.
Later,
MS
On Fri, 2002-11-08 at 04:18, PlugHead wrote:
> If I'm reading the man page correctly, the -p option preserves the modes of
> the files (e.g. rwx), not the owner. Keeping the
Surely a lapsus, it should be (replace user with your own login name):
for i in * ; do chown -R user:user $i ; done
Anyway, maybe you can make a one-file from them before (tar, cpio, ...)
so after you scp it and decompress it on the new server you will
probably have the "right" owner (it's quite
On Thursday, November 7, 2002, at 09:18 PM, PlugHead wrote:
If I'm reading the man page correctly, the -p option preserves the
modes of
the files (e.g. rwx), not the owner. Keeping the owners could be a bit
problematic, since the owner id on one system is probably different
from the
owner id
If I'm reading the man page correctly, the -p option preserves the modes of
the files (e.g. rwx), not the owner. Keeping the owners could be a bit
problematic, since the owner id on one system is probably different from the
owner id on another system...
If all of the your files need to have th
Hi guys,
Time to change over the mail server and am copying down /home to the new
server. I am currently trying to do this via scp, now i dont claim to
be any expert but from reading the man pages on scp i should be able to
use the -rp switches to 1. Copy recursively and 2. maintain file
permissi