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 | ||||
| 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 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue