diff options
Diffstat (limited to 'scripts/desktop/unrar-all')
| -rwxr-xr-x | scripts/desktop/unrar-all | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/desktop/unrar-all b/scripts/desktop/unrar-all new file mode 100755 index 0000000..7c9f531 --- /dev/null +++ b/scripts/desktop/unrar-all @@ -0,0 +1,2 @@ +#! /usr/bin/env sh +find "$1" ! -path "${1%/}/$(basename $PWD)/*" -name '*.rar' -exec sh -c 'x=${1%.*}; 7z x -o"${x##*/}" "$1"' _ {} \; |