Created
January 4, 2020 16:34
-
-
Save williampsena/a077e65f0738c52c7503e8fcb98dabc2 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 | |
SOURCE=$1 | |
TARGET=$2 | |
mkdir -p $TARGET | |
echo "Extracting 7z files from $SOURCE to $TARGET" | |
7z x "$SOURCE/*.7z" -o"$TARGET" | |
# how to use -> extract-7z-files.sh /tmp/source /tmp/target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment