551 Shaares
2 Ergebnisse
markiert
curlftpfs
tl;dr: Install Unison and curlftpfs. Mount the ftp share using curlftpfs and then perform a simple Unison sync.
#!/bin/bash
ftphost='entenhaus.en'
ftpuser='dagobert'
ftppassword='panzerknacker'
curlftpfs -r $ftpuser:$ftppassword@$ftphost /mnt/ftp
rsync -a -P -u --stats /mnt/ftp /home/dagobert/ftp
fusermount -u /mnt/ftp