The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Security
Google UNIX.COM


Security Anything involving computer security goes here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Recursive FTP -- here at last. Perderabo Shell Programming and Scripting 47 2 Weeks Ago 01:32 PM
Recursive pid script jbarnhar Shell Programming and Scripting 3 05-02-2007 12:14 PM
recursive sorting fermisoft UNIX for Advanced & Expert Users 1 08-16-2005 05:46 AM
recursive rcp Nicol Shell Programming and Scripting 6 11-06-2003 07:52 AM
Recursive FTP aslamg UNIX for Dummies Questions & Answers 1 03-08-2001 12:27 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-13-2008
Registered User
 

Join Date: Apr 2005
Posts: 1
Recursive SFTP

Hello,

I need to transfer files from Serve1 to Server2. Previously I was using scp command. Now I have to use sftp (due to audit issues). The problem with sftp is (atleast to my level of knowledge) we cannot transfer dirs (and files within that dir).

Is there a way to solve this? Looks like I might need to write a shell pgm to list the dir and then create them manually.

Any thoughts are welcome.

Thanks!
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-18-2008
Registered User
 

Join Date: May 2008
Posts: 7
I would make a tar
tar -cvf mydir.tar ./dir/

and preferably gzip it.

Quote:
Originally Posted by MohanTJ View Post

we cannot transfer dirs (and files within that dir).
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:43 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0