Last active
March 9, 2018 09:06
-
-
Save xsteadfastx/065364a946ce544ab6a2d004d54acc9d to your computer and use it in GitHub Desktop.
Project Gutenberg Sync
This file contains 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
.PHONY: sync zip txt | |
sync: # sync everything | |
rsync -av --del --partial --append-verify aleph.gutenberg.org::gutenberg gutenberg | |
zip: # sync only zip files | |
rsync -avm --del --partial --append-verify \ | |
--include="*/" \ | |
--include="*.zip" \ | |
--exclude="*" \ | |
aleph.gutenberg.org::gutenberg gutenberg | |
txt: # only sync txt files | |
rsync -avm --del --partial --append-verify \ | |
--include="*/" \ | |
--include="*.txt" \ | |
--exclude="*" \ | |
aleph.gutenberg.org::gutenberg gutenberg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment