commit 5381e9d57a31860e2eeb4638c7f2fca7edff7561 parent 778e1a029460eea71a7fa118a6c36130cde7fc05 Author: Bakar Chargeishvili <bakar@bcharge.de> Date: Wed, 4 Dec 2024 11:20:37 +0100 Use the proper POSIX syntax Diffstat:
M | clear.sh | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/clear.sh b/clear.sh @@ -1 +1,2 @@ -find . -maxdepth 1 -regextype gnu-awk -regex "^.*\.(pyc|p yo|bak|swp|aux|log|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl|fls|fdb_latexmk)" -delete +#find . -maxdepth 1 -regextype gnu-awk -regex "^.*\.(pyc|p yo|bak|swp|aux|log|lof|nav|out|snm|toc|bcf|run\.xml|synctex\.gz|blg|bbl|fls|fdb_latexmk)" -delete +find . -maxdepth 1 \( -name "*.pyc" -o -name "*.pyo" -o -name "*.bak" -o -name "*.swp" -o -name "*.aux" -o -name "*.log" -o -name "*.lof" -o -name "*.nav" -o -name "*.out" -o -name "*.snm" -o -name "*.toc" -o -name "*.bcf" -o -name "run.xml" -o -name "*.synctex.gz" -o -name "*.blg" -o -name "*.bbl" -o -name "*.fls" -o -name "*.fdb_latexmk" \) -delete