bin: add tiny compress script

This commit is contained in:
xeruf 2023-03-12 22:35:11 +01:00
parent 44d468be53
commit d78baa36d6
2 changed files with 7 additions and 2 deletions

View File

@ -4,7 +4,9 @@
typeset -A _clean_map
_clean_map=([h]=$XDG_CACHE_HOME [t]=/var/tmp [l]=/var/log [v]=/var/cache)
_clean_home=(.ant .autopsy .bundle .cache .cargo .cpanm .docker .electron .electron-gyp .gradle .gradle-kotlin-dsl .hex .java .kscript .konan .m2 .mix .nix-defexpr .node-gyp .node_modules .npm .pnpm-store .nv .openjfx .parallel .stack .surf .texlive .yarn luametatex-cache
_clean_home=(.ant .autopsy .bundle .cache .cargo .cpanm .docker .electron .electron-gyp .gradle .gradle-kotlin-dsl .hex .java .kscript .konan .m2 .mix .nix-defexpr .node-gyp .nv .openjfx .parallel .stack .surf .texlive
.yarn .node_modules .npm .pnpm-store
luametatex-cache luatex-cache
.lesshst .python_history .rubberband.wisdom.d .yarnrc)
[[ $1 =~ "." ]] && local=pwd

3
.local/bin/scripts/compress Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
# Just compress the given directory!
7z a "$1" "$@"