Skip to content

Instantly share code, notes, and snippets.

@brgmn
Created January 27, 2013 20:56
Show Gist options
  • Save brgmn/4650437 to your computer and use it in GitHub Desktop.
Save brgmn/4650437 to your computer and use it in GitHub Desktop.
Sync remote ftp-webspace with curlftpfs and rsync.
#!/bin/sh
curlftpfs -s ftp://user:[email protected] /mnt/ftpverz
rsync -rltDvz --force --exclude-from=rsync_exclude.txt /var/www/webprojekt/ /mnt/ftpverz/
umount /mnt/ftpverz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment