Last active
April 7, 2017 06:16
-
-
Save mkanenobu/923b1c5f5e4788216cd53b3404b5e20e to your computer and use it in GitHub Desktop.
Extract multiple archive file contents with unar command
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 | |
### unarchve multiple files with unar | |
set -Cue | |
if test $# -gt 0; then | |
for i in "$@"; do | |
unar $i | |
done | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment