Autosave: 2024-02-25 19:55:06
This commit is contained in:
parent
c1b26c54da
commit
32f33aa157
1 changed files with 1 additions and 1 deletions
|
@ -5,6 +5,6 @@ find /home/thomas/repos/eolas/img -type f | while read filename; do
|
||||||
rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1
|
rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1
|
||||||
if [ "$?" -eq 1 ]; then
|
if [ "$?" -eq 1 ]; then
|
||||||
echo "Deleted unused image: ${filename##*/}"
|
echo "Deleted unused image: ${filename##*/}"
|
||||||
rm $filename
|
# rm $filename
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Add table
Reference in a new issue