🐛 Debug

This commit is contained in:
Gal 2024-02-14 23:06:31 +01:00
parent e46cf2e130
commit c91fe60268
Signed by: gal
GPG Key ID: F035BC65003BC00B
1 changed files with 3 additions and 0 deletions

View File

@ -75,7 +75,10 @@ find "$DEST_DIR" -type f -exec sh -c '
source_file="$SOURCE_DIR/$relative_path"
if [ ! -e "$source_file" ]; then
echo "Delete $1"
rm "$1"
else
echo "Skipping $1 as it exists in SOURCE_DIR"
fi
' _ {} \;