Created
March 10, 2010 06:33
-
-
Save v1nc3ntlaw/327591 to your computer and use it in GitHub Desktop.
post files inside shell scripts and self extract
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
$ tar cvvf archive.tar * | |
$ echo 'uudecode -o- << "EOF" | tar xvv ' > shellscript | |
$ uuencode archive.tar archive.tar >> shellscript | |
$ echo 'EOF' >> shellscript |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment