This commit is contained in:
JMARyA 2025-06-14 18:45:58 +02:00
parent 849da14928
commit e8a57d883c
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263

12
functions/unzipdir.fish Normal file
View file

@ -0,0 +1,12 @@
function unzipdir
for zipfile in $argv
if test -f $zipfile
set name (path change-extension '' $zipfile)
mkdir -p $name
unzip -q $zipfile -d $name
echo "Unzipped $zipfile to $name/"
else
echo "File not found: $zipfile"
end
end
end