Añadido README.MD con comandos útiles

This commit is contained in:
2024-09-23 17:02:51 +02:00
parent 84003868b9
commit c0155fc23c
+7
View File
@@ -0,0 +1,7 @@
Unzip to a folder with the same name as the file (without the .zip extension)
for f in *.zip; do unzip "$f" -d "${f%.zip}"; done
For just one file (i.e. to use in a function) it would be:
unzip "$1" -d "${1%.zip}"