Skip to content

Instantly share code, notes, and snippets.

@leylaKapi
Created February 27, 2017 11:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leylaKapi/ca941f619afc199dbb6af58f0e2c9faa to your computer and use it in GitHub Desktop.
Save leylaKapi/ca941f619afc199dbb6af58f0e2c9faa to your computer and use it in GitHub Desktop.
Remote zip or tar
//In remote
➜ ~ tar czvf compressed.tar.gz directory1
https://www.digitalocean.com/community/tutorials/an-introduction-to-file-compression-tools-on-linux-servers
//In Locale
➜ ~ scp -r username@ip:compressed.tar.gz /Users/johndoe/Desktop/backup.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment