Script is now silient
This commit is contained in:
parent
8a66ccc953
commit
aacf5ee4e0
|
@ -8,14 +8,14 @@ list_file="$2"
|
||||||
|
|
||||||
# Check if the folder exists
|
# Check if the folder exists
|
||||||
if [ ! -d "$folder_path" ]; then
|
if [ ! -d "$folder_path" ]; then
|
||||||
echo "Folder does not exist: $folder_path"
|
# echo "Folder does not exist: $folder_path"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if the list file exists
|
# Check if the list file exists
|
||||||
if [ ! -f "$list_file" ]; then
|
if [ ! -f "$list_file" ]; then
|
||||||
echo "List file does not exist: $list_file"
|
# echo "List file does not exist: $list_file"
|
||||||
exit 1
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Loop through the files in the folder
|
# Loop through the files in the folder
|
||||||
|
|
Loading…
Reference in New Issue