Day 9 Task: Shell Scripting Challenge Directory Backup with Rotation
#!/bin/bash
# A script to create backups and perform rotation on the last 3 backups.
# Check if the directory path is provided as an argument.
if [[ $# -eq 0 ]]; then
echo "Usage Error: Please provide a valid directory path."
exit 1
fi
# C...
pakeezas.hashnode.dev1 min read