Created
July 13, 2019 23:11
-
-
Save jms1989/6ad55cc3817a2357e4515cc95643e007 to your computer and use it in GitHub Desktop.
compress folder and contents into 7z
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
x="$1" ; 7z a -mx0 "$x".7z "$x"; rm -r "$x"; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment