diff options
| author | 2025-06-03 10:30:38 -0400 | |
|---|---|---|
| committer | 2025-06-03 10:30:38 -0400 | |
| commit | 68f39eb867c851acb651f79604aba119ecaa9527 (patch) | |
| tree | 856a3de46de8196736a8fd4c59395d7192aa8353 /scripts/unzip-all | |
| parent | a28487fe6fbac72c7b1a752acab42dcc6ab46476 (diff) | |
| download | dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.gz dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.tar.bz2 dotfiles-68f39eb867c851acb651f79604aba119ecaa9527.zip | |
Add some gentoo stuff and update cgit
Diffstat (limited to 'scripts/unzip-all')
| -rwxr-xr-x | scripts/unzip-all | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/unzip-all b/scripts/unzip-all new file mode 100755 index 0000000..0982666 --- /dev/null +++ b/scripts/unzip-all @@ -0,0 +1,3 @@ +#! /usr/bin/env sh +# https://askubuntu.com/a/518376 +find "$1" ! -path "${1%/}/$(basename $PWD)/*" -name '*.zip' -exec sh -c 'x=${1%.*}; unzip -d "${x##*/}" "$1"' _ {} \; |