This repository has been archived on 2023-02-26. You can view files and clone it, but cannot push or open issues or pull requests.
langue-phundrak-com/clean.fish
2019-08-06 15:54:24 +02:00

10 lines
260 B
Fish
Executable File

#!/usr/bin/env fish
set delfname "*.pdf" "*.tex" "*.aux" "*.log" "*.toc" "*.out" "*.html" "*.lol" "*.lot"
set deldname "auto" "_minted*"
for f in $delfname
find -type f -name $f -delete
end
for d in $deldname
find -type d -name $d -exec rm -r {} +
end