This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# backups a ftp host (complete all recursive) | |
# currently does not support the backup of a specified directory | |
cd "$(dirname "$0")" | |
backupfile=$(date +%Y%m%d) | |
savetodir=./backup-$(date +%Y)/ | |
host=ftp.site.com |
OlderNewer