Transferring files

From LPTMS Wiki
Revision as of 14:26, 19 November 2011 by Roux (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • 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.