ZipIgnoreA shortcut to zip using .gitignore |
Version | v0.1 | |
---|---|---|---|
Updated | |||
Author | Gerard Gascón | License | CC BY 4.0 |
For quite some time I’ve been writing terminal shortcuts for my computer (See Unity Opener).
Today I’ve built a basic shortcut to take into account .gitignore files, as I don’t want to manually deselect them when compressing using the context menu.
It’ll probably support other types of .ignore files, but I said .gitignore as it’s the only kind I use.
For now, I only have a Batch file:
@echo off
call “C:\Program Files\7-Zip\7z.exe” “a” ^
“-xr@.gitignore” “-tzip” “result.zip” %1
For now, as a basic shortcut it only supports the wildcards that 7zip supports.
There’s no support for character wildcards like “[Aa]ssets”