Script is now silient

This commit is contained in:
Tube 2023-10-24 23:17:40 +02:00
parent 8a66ccc953
commit aacf5ee4e0
1 changed files with 4 additions and 4 deletions

View File

@ -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