Created
February 15, 2018 16:40
Revisions
-
uprego created this gist
Feb 15, 2018 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ #!/bin/sh if test $# -ne 1 then echo 'must receive exactly one argument' exit 1 fi tar czvf "${1}.tar.gz" "${1}" && rm -fv "${1}"