diff --git a/scripts/del-files-not-in-list.sh b/scripts/del-files-not-in-list.sh index d5a159b..04feb8e 100644 --- a/scripts/del-files-not-in-list.sh +++ b/scripts/del-files-not-in-list.sh @@ -8,14 +8,14 @@ list_file="$2" # Check if the folder exists if [ ! -d "$folder_path" ]; then - echo "Folder does not exist: $folder_path" - exit 1 + # echo "Folder does not exist: $folder_path" + exit 0 fi # Check if the list file exists if [ ! -f "$list_file" ]; then - echo "List file does not exist: $list_file" - exit 1 +# echo "List file does not exist: $list_file" + exit 0 fi # Loop through the files in the folder