scp -t . - possible idea for additional parameter
Bob Proulx
bob at proulx.com
Wed Oct 3 10:39:20 EST 2007
Larry Becke wrote:
> By locking, I mean translating /path/to/file as ./path/to/file, or
> ../../../path/../../../path/to/file as ./path/to/file.
>
> Basically set a root point as the current home directory, then build
> the pathing based on that, any "../" would become "./" if the "../"
> would go above that home directory.
Not sure this is what you want but look into the 'rsync --relative'
option.
http://rsync.samba.org/
http://rsync.samba.org/ftp/rsync/rsync.html
Bob
More information about the openssh-unix-dev
mailing list