bash script to send a folder to a server

  • goldorax113
  • Born
  • Born
  • goldorax113
  • Posts: 1

Post 3+ Months Ago

Hi

I want to find a script to send a folder to a ftp server. but I don't want to compress it, I want to keep the "tree".

Thank you very much

Nicolas
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • PsyckBoy
  • Graduate
  • Graduate
  • PsyckBoy
  • Posts: 204
  • Loc: SoCal

Post 3+ Months Ago

Probably easier to just use the scp command:
Code: [ Select ]
scp -r sourceFolder username@host:/destination/folder/

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 75 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.