Skip to content

Instantly share code, notes, and snippets.

@mikker
Created July 24, 2012 12:42
Show Gist options
  • Select an option

  • Save mikker/3169739 to your computer and use it in GitHub Desktop.

Select an option

Save mikker/3169739 to your computer and use it in GitHub Desktop.
Update a directory using LFTP and the commandline.
# Set bookmark - optional
lftp -u USER -e "bookmark add BOOKMARK; exit" DOMAIN
# Mirror
lftp -e 'mirror -R build public_html; exit' BOOKMARK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment