Niall O Broin suggests:
> rsync is definitely the answer to your question. You say you want
> to preserve owner/group but what do you mean exactly - do you
> want to preserve UID/GID or owner name/group name?
Good question! I just assumed UID/GID, since (1) I didn't
know ‘rsync’ could do otherwise; and (2) Am well aware
names are usually a poor choice for archival(-like) actions.
HOWEVER, in this case, the names happen to be the same (but
with deliberately differing UIDs). So name-preserving seems
like it would cut out a step (the ‘chown’ on New).
Another person (not posted to the list?) suggests:
> Yes, rsync is probably your handiest bet here. I tend to "pull" when
> I do this, though I don't think that matters too much... You can run
> it as root, or tunnel it through ssh
> ( -e ssh root at old:/path/to/files /path/to/dest) ...
What would be the point of tunneling through ssh ?
Apologies if that's a silly question....
( In thinking about it — assume pulling — that would
seem to handle the authentication puzzle on Old. )
Obviously I need to experiment a bit, since I'm also
obviously out of my comfort zone here.... ;-\
cheers!
-blf-
--
“How many surrealists does it take to | Brian Foster
change a lightbulb? Three. One calms | somewhere in south of France
the warthog, and two fill the bathtub | Stop E$$o (ExxonMobil)!
with brightly-coloured machine tools.” | http://www.stopesso.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!