Skip to content

Instantly share code, notes, and snippets.

@brgmn
Created January 27, 2013 20:56
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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:pass@testdomainbla.de /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