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:
parent
1e5d77c8a4
commit
462f0522a4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue