Add sync_wikimedia_xmldumps
This commit is contained in:
parent
d3693a6370
commit
e7989a267d
11
shell/sync_wikimedia_xmldumps
Executable file
11
shell/sync_wikimedia_xmldumps
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# Use rclone to sync the last two good Wikimedia XML data dumps.
|
||||||
|
|
||||||
|
set -euxo pipefail
|
||||||
|
|
||||||
|
wget https://wikimedia.bringyour.com/rsync-filelist-last-2-good.txt -O /home/jas/rsync-filelist-last-2-good.txt
|
||||||
|
rclone sync --http-no-head --transfers 8 --include-from /home/jas/rsync-filelist-last-2-good.txt wikimedia.bringyour.com: /naspool/archives/wikimedia-xmldatadumps
|
||||||
|
rm -v /home/jas/rsync-filelist-last-2-good.txt
|
||||||
|
|
||||||
|
exit 0
|
Loading…
x
Reference in New Issue
Block a user