Transferring files: Difference between revisions

From LPTMS Wiki
Jump to navigation Jump to search
m (Created page with "* the ''scp'' command: :> scp server:directory here * if you do some regular updates, there is no ''-update'' option to ''scp''. Then, better use the ''rsync'' command. For inst...")
 
(No difference)

Latest revision as of 15:26, 19 November 2011

  • the scp command:
:> scp server:directory here
  • if you do some regular updates, there is no -update option to scp. Then, better use the rsync command. For instance with
:> rsync -avub -e ssh server:data/*.gz data/

be careful with the slash after directory names, with or without is no exactly the same behavior. Look at man rsync before using it.