Last active
October 16, 2018 14:14
-
-
Save kammar87/497165ec98474a0d271b457eb5f7ef92 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 | |
urlName=$1 | |
curl $urlName -o /opt/test.html | |
mv /opt/test.html /opt/newfile | |
tar -zcvg /opt/newfile.tag.gz /opt/newfile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment