Re: scp ignore symlinks
From: Alan J. Flavell (flavell@mail.cern.ch)
Date: 11/30/02
- Next message: Nico Kadel-Garcia: "Re: scp ignore symlinks"
- Previous message: all mail refused: "Re: scp ignore symlinks"
- In reply to: J.M.Roth: "scp ignore symlinks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Alan J. Flavell" <flavell@mail.cern.ch> Date: Sat, 30 Nov 2002 13:36:50 +0100
On Nov 30, J.M.Roth inscribed on the eternal scroll:
> I'd like to copy symlinks as such using scp. I don't want it to copy
> symlinked directories.
Piping a "tar -cf - ..." into ssh running a remote
"(cd whatever; tar -xf -)" , using appropriate flags on
tar, can produce a useful range of desired behaviours.
Of course, in general the target of a symlink on one system might not
exist at all on another, so this only works in situations where it
makes sense.
- Next message: Nico Kadel-Garcia: "Re: scp ignore symlinks"
- Previous message: all mail refused: "Re: scp ignore symlinks"
- In reply to: J.M.Roth: "scp ignore symlinks"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|