You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
273 B

#!/usr/bin/env bash
FEXT=("pdf" "tex" "aux" "log" "toc" "out" "html" "lol" "lot" "epub" "bbl" "glo" "ist")
DIRS=("auto" "_minted*" "svg-inkscape")
for e in "${FEXT[@]}"; do
fd -uu -e "$e" -X rm {}
done
for d in "${DIRS[@]}"; do
fd -uu -t d "$d" -X rm -r {}
done