Created
July 24, 2012 12:42
-
-
Save mikker/3169739 to your computer and use it in GitHub Desktop.
Update a directory using LFTP and the commandline.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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