From 2140ab51deed88e90eafebf9520fa5f9995dc7c9 Mon Sep 17 00:00:00 2001 From: twells46 <173561638+twells46@users.noreply.github.com> Date: Wed, 31 Dec 2025 13:28:05 -0600 Subject: Migrate from stow --- private_dot_local/bin/executable_zip2gzip | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 private_dot_local/bin/executable_zip2gzip (limited to 'private_dot_local/bin/executable_zip2gzip') diff --git a/private_dot_local/bin/executable_zip2gzip b/private_dot_local/bin/executable_zip2gzip new file mode 100644 index 0000000..0be6b12 --- /dev/null +++ b/private_dot_local/bin/executable_zip2gzip @@ -0,0 +1,9 @@ +#!/bin/sh + +GZ=-9 +start="$(pwd)" +tmpdir="$(mktemp -d)" +trap "rm -rf $tmpdir" EXIT +unzip -q "$1" -d "$tmpdir" +cd "$tmpdir" +tar -czf "$start/${1%.*}.tgz" . -- cgit v1.2.3