From 544da1ba50d9cbf51a18ca0abf1db66b3baa7460 Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 17 Oct 2025 12:22:00 -0400 Subject: Gentoo desktop --- scripts/desktop/unzip-all | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 scripts/desktop/unzip-all (limited to 'scripts/desktop/unzip-all') diff --git a/scripts/desktop/unzip-all b/scripts/desktop/unzip-all new file mode 100755 index 0000000..0982666 --- /dev/null +++ b/scripts/desktop/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