Re: SFTP's handling of "." and ".."

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Is this enough?


What about

   put -r ../  dest
   put -r ../. dest
   put -r ../.. dest

The first and second might come up from completion and/or a script; for the last (and similar) inputs we'd need more special-casing.

I guess this resolves to the question whether source path structures should be built in the destination (like -R for rsync says) or not.



   put -r ../../foo/.. dest


With foo being a symlink the intention might not be clear (which containing directory, of the symlink or its target?)
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux