added dependency info

This commit is contained in:
Sayantan Santra 2021-12-31 02:07:19 -06:00
parent 1e5d77c8a4
commit 462f0522a4
1 changed files with 3 additions and 1 deletions

View File

@ -2,6 +2,8 @@
#!/bin/sh
# Depends on trash-cli
for f in *.tex; do
if [ -f "$f" ]; then
h=$(basename "$f" .tex)
@ -10,7 +12,7 @@ for f in *.tex; do
k=$( echo $g | sed 's/^.*\.//')
if [ "$k" != "tex" ] && [ "$k" != "pdf" ] && [ "$k" != "bib" ] ; then
echo "Trashing $g..."
totrash "$g"
trash "$g"
fi
done
fi