Skip to content

Instantly share code, notes, and snippets.

@sergiohidalgo
Last active March 15, 2020 22:48
Show Gist options
  • Save sergiohidalgo/7465d4bf04131f26ce80c3f92c2bffc7 to your computer and use it in GitHub Desktop.
Save sergiohidalgo/7465d4bf04131f26ce80c3f92c2bffc7 to your computer and use it in GitHub Desktop.
Algunos comandos útiles que están en mi memoria pero generalmente me olvido de su sintaxis

Copy a file from remote server into a local folder:

rsync -v -e ssh [email protected]:/home/remoteuser/transfer/testfile.txt /home/localuser/

Synchronize folder from the remote server on the local server:

rsync -r -a -v -e ssh --delete [email protected]:/home/remoteuser/testfolder /home/localuser/testfolder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment