Last active
September 4, 2015 18:16
-
-
Save JburkeRSAC/0e914496e609fbd52427 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# To Do: | |
# * Prompt user for IP | |
# * Prompt user for target directory | |
# * Make final filename a variable and prompt | |
# * [OPTIONAL]: Make the script print ASCII art & play obnoxious music | |
# $1 = username@ip for ssh machine to retrieve rar from without creating a copy on machine | |
# $2 = Target directory to tar copy of | |
# $3 = Directory to save tar to on local machine | |
ssh -n $1 'tar zcvf - ~/.thunderbird' | cat - > $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment