#!/bin/bash export FTP_PASSWORD= duplicity full --no-encryption /home/user/Data ftp://anonymous@XXX.XXX.XXX.XXX/Zalohy/Data/ >>/home/user/.Duplicity/data-f.log duplicity verify --no-encryption ftp://anonymous@XXX.XXX.XXX.XXX/Zalohy/Data/ /home/user/Data >>/home/user/.Duplicity/data-fv.log duplicity remove-older-than 6M --force ftp://anonymous@XXX.XXX.XXX.XXX/Zalohy/Data/ >>/home/user/.Duplicity/data-fr.log unset FTP_PASSWORD