1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-25 20:58:37 -06:00

added dependency info

This commit is contained in:
Sayantan Santra 2021-12-31 02:07:19 -06:00
parent 1e5d77c8a4
commit 462f0522a4

View file

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