From 7f7454b5e54d7144798bbc9c4eb93bd703466721 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Mon, 17 Apr 2023 07:03:50 +0100 Subject: [PATCH] update clean image dir script to use eolas --- _scripts/clean_image_directory.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_scripts/clean_image_directory.sh b/_scripts/clean_image_directory.sh index 5db22d0..3ebe2c9 100755 --- a/_scripts/clean_image_directory.sh +++ b/_scripts/clean_image_directory.sh @@ -1,7 +1,7 @@ #!/bin/bash # If there are images in _img/ that are not being used in the workspace, delete them -find /home/thomas/repos/computer_science/_img -type f | while read filename; do +find /home/thomas/repos/eolas/_img -type f | while read filename; do rg "${filename##*/}" ../ --type markdown >/dev/null 2>&1 if [ "$?" -eq 1 ]; then echo "Deleted unused image: ${filename##*/}"