From 68f39eb867c851acb651f79604aba119ecaa9527 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Tue, 3 Jun 2025 10:30:38 -0400 Subject: Add some gentoo stuff and update cgit --- scripts/unzip-all | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/unzip-all (limited to 'scripts/unzip-all') 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"' _ {} \; -- cgit v1.2.3-101-g0448