Une scripte bash pour generer le fichier sitmap.xml de votre site web.
FTP les fichiers modifiés dans le dernier 24 heures
#!/bin/bash
cd ~/localfolder
FILES=`find ~/localfolder -mtime 0 -type f -printf "%P "`
HOST='ftp.myhost.net'
USER='username'
PASS=`pass folder/username`
ftp -inv $HOST << EOF
quote USER $USER
quote PASS $PASS
cd remotefolder
mput $FILES
bye
EOF
exit 0