49 lines
1007 B
Makefile
49 lines
1007 B
Makefile
PAR := 50
|
|
|
|
default: dl
|
|
|
|
dl:
|
|
rclone copy \
|
|
--progress \
|
|
--transfers $(PAR) \
|
|
--stats-unit bits \
|
|
--retries 10 \
|
|
--retries-sleep 60s \
|
|
--checkers $(PAR) \
|
|
--fast-list \
|
|
--s3-list-chunk 5000 \
|
|
--s3-disable-http2 \
|
|
--s3-sdk-log-mode Request,Response \
|
|
--no-traverse \
|
|
--check-first \
|
|
-vv --log-file=rclone-log-202505.txt \
|
|
mastodon-nbg1-s3:mastodon/ las1stor1-files:/srv/berlin.sneak.fs.mastodon-media/mastodon-bucket/
|
|
|
|
downloadold:
|
|
rclone copy \
|
|
--progress \
|
|
--transfers $(PAR) \
|
|
--stats-unit bits \
|
|
--retries 10 \
|
|
--retries-sleep 60s \
|
|
--fast-list \
|
|
--checkers=$(PAR) \
|
|
--check-first \
|
|
-vv --log-file=rclone-log.txt \
|
|
mastodon-nbg1-s3:mastodon/ ./mastodon-bucket/
|
|
|
|
copy:
|
|
rclone copy \
|
|
-v -v -v \
|
|
--progress \
|
|
--transfers $(PAR) \
|
|
--stats-unit bits \
|
|
--retries 10 \
|
|
--retries-sleep 60s \
|
|
--fast-list \
|
|
--checkers $(PAR) \
|
|
--check-first \
|
|
--log-file=rclone-copy-las1stor1.txt \
|
|
./ \
|
|
las1stor1-files:/srv/berlin.sneak.fs.mastodon-media/
|