feat: zipignore

This commit is contained in:
Gerard Gascón 2025-04-24 01:07:54 +02:00
parent cd665c3df0
commit 0606c834ae
2 changed files with 9 additions and 0 deletions

5
README.md Normal file
View file

@ -0,0 +1,5 @@
# Shortcuts
A collection of shortcuts that I use.
1. [zipignore](zipignore.bat) - A 7zip shortcut to zip a folder taking a gitignore into account.

4
zipignore.bat Normal file
View file

@ -0,0 +1,4 @@
@echo off
call "C:\Program Files\7-Zip\7z.exe" "a" ^
"-xr@.gitignore" "-tzip" "result.zip" %1