Here's a basic template:
#!/bin/bash
# Check if source directory exists if [ ! -d "$SOURCE_DIR" ]; then echo "Source directory does not exist." exit 1 fi
Here's a basic template:
#!/bin/bash
# Check if source directory exists if [ ! -d "$SOURCE_DIR" ]; then echo "Source directory does not exist." exit 1 fi