Skip to content

Instantly share code, notes, and snippets.

@zoonderkins
Last active September 10, 2024 07:32
Show Gist options
  • Save zoonderkins/684fd47953b270bcf2a6d80a778d2218 to your computer and use it in GitHub Desktop.
Save zoonderkins/684fd47953b270bcf2a6d80a778d2218 to your computer and use it in GitHub Desktop.
rclone mount s3 bucket and dropbox tweak

Rclone copy with s3 and exclude file

rclone copy /root my-s3:/root -P --transfers 6 --multi-thread-cutoff 1P --s3-upload-cutoff=4000M --multi-thread-streams 0 --exclude "node_modules/**" --exclude ".git/**" --exclude ".cache/**" --exclude "postgres/**"

Rclone mount s3 bucket

rclone mount idrive-e2: ~/mount/idrive --vfs-cache-mode minimal --daemon --allow-non-empty --allow-other --vfs-fast-fingerprint --no-modtime

Performance improvement

Max S3 upload 5TiB

--multi-thread-cutoff 1P --s3-upload-cutoff=4000M --multi-thread-streams 0

Dropbox

rclone mount dropbox: ~/mount/dropbox --vfs-cache-mode writes --daemon --allow-non-empty --allow-other --checkers 4 --dropbox-chunk-size 150M --dropbox-batch-mode sync --tpslimit 5 --tpslimit-burst 5 -P
--fast-list \
--allow-other \
--dir-cache-time 48h \
--vfs-read-chunk-size 32M \
--vfs-read-chunk-size-limit 2G \
--buffer-size 1G \
--drive-chunk-size 512M \
--vfs-cache-mode writes \
--log-level INFO \
--bwlimit 8.5M:off \
--stats 1m \
--retries-sleep 60m

Other

rclone mount 20tb-sftp:xxx ~/mount/us6/ --vfs-cache-mode writes --daemon --allow-non-empty --allow-other --vfs-fast-fingerprint --no-modtime

rclone copy /hdd2/docker/ pcloud:docker -P --ignore-existing --fast-list

CIFS

 mount.cifs -o user=root,pass="password" //xxx.com/Public mount/cifs-docker
 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment