On Fri, 12 Oct 2001, Peter Nixon wrote:
On Thu, 11 Oct 2001 14:17:22 +0200 Steven Thompson
wrote: Is there an ftp style app for SCP on linux. I'm running SuSE 7.2 For either console or KDE that does recursive coping of files and directories. Example:
--------------------------------- | Local System | Remote System | | /home/ | /opt/packages/| --------------------------------- |.. |.. | |some files |some files | --------------------------------- <---- ---->
OpenSSH/SSH now has a utility called sftp which is interactive with the same commands as ftp, however it doesn't seem to have a recursive option to get or put...
Personally I don't use sftp, rather I use rsync with the "-r" (recursive) and "-e ssh" (Encrypt/tunnel through ssh) option. Rsync is incredibly powerful, and there is really no reason to use scp if you have rsync installed. Rsync comes as an rpm on the suse cd's, and is now part of the LSB (Linux Standards Base) so it should be installed on any current distro.
If you don't have or don't want rsync, scp have a -r (recursive) option that will also do what you want...
If "ftp style" is not a must, you should also have a look at "Unison", which can use an rsync-like protocol over SSH as well and allows bidirectional synchronization at the same time. It has a GUI and text based interface and can be run in batch mode as well: http://www.cis.upenn.edu/~bcpierce/unison/ RPMs for SuSE Linux 7.2 can be found here: ftp://ftp.suse.com/pub/people/grimmer/RPMs/i386/7.2/unison-2.7.7-0.i386.rpm Bye, LenZ -- ------------------------------------------------------------------ Lenz Grimmer SuSE GmbH mailto:grimmer@suse.de Schanzaeckerstr. 10 http://www.suse.de/~grimmer/ 90443 Nuernberg, Germany Some people grasp stupidity as though it were a virtue.