Rsync: Difference between revisions

From James's Wiki
(Created page with "==To copy files to a remote server== rsync *.txt username@batman:/tmp")
 
No edit summary
Line 1: Line 1:
==To copy files to a remote server==
==To copy files to a remote server==
  rsync *.txt username@batman:/tmp
  rsync *.txt 'ssh -p 2222' username@batman:/tmp

Revision as of 13:40, 14 January 2018

To copy files to a remote server

rsync *.txt 'ssh -p 2222' username@batman:/tmp