📅  最后修改于: 2022-03-11 14:51:40.540000             🧑  作者: Mango
#!/bin/bash
now="$(date)"
printf "Current date and time %s\n" "$now"
now="$(date +'%d/%m/%Y')"
printf "Current date in dd/mm/yyyy format %s\n" "$now"
echo "Starting backup at $now, please wait..."
# command to backup scripts goes here
# ...