Skip to content
forked from rclone/rclone

About

"rsync for cloud storage" - Teldrive, Terabox, Alldebrid, Alist, Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Resources

Code of conduct

Contributing

Stars

77 stars

Watchers

1 watching

Forks

Β 
Β 

Latest commit

Β 

History

10,612 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GitHub release Total Downloads Latest Downloads

⚠️ Unofficial Fork Disclaimer
This is an unofficial fork of rclone, with additional enhancements such as Alist, Alldebrid, iCloud Photos, Teldrive and Terabox support. Used also in https://github.com/gulp79/Round-Sync an Android GUI to Rclone. I am not affiliated with the upstream maintainers, and this fork does not intend to be malicious or harmful in any way.
Please read the source code if you're unsure or want to verify that it behaves as described.
Contributions, feedback, and scrutiny are welcome.

Terabox code is taken from https://github.com/x1arch/rclone/tree/backend/terabox
Alist, Alldebrid and iCloud Photos backend are from https://github.com/BenjiThatFoxGuy/bclone and Teldrive backend is from https://github.com/tgdrive/rclone

rclone logo

rclone logo

Website | Documentation | Download | Contributing | Changelog | Installation | Forum | bclone

Rclone

Rclone ("rsync for cloud storage") is a command-line program to sync files and directories to and from different cloud storage providers.

Storage providers

Please see the full list of all storage providers and their features

Virtual storage providers

These backends adapt or modify other storage providers

  • Alias: rename existing remotes πŸ“„
  • Archive: read archive files πŸ“„
  • Cache: cache remotes (DEPRECATED) πŸ“„
  • Chunker: split large files πŸ“„
  • Combine: combine multiple remotes into a directory tree πŸ“„
  • Compress: compress files πŸ“„
  • Crypt: encrypt files πŸ“„
  • Hasher: hash files πŸ“„
  • Union: join multiple remotes to work together πŸ“„

Features

  • MD5/SHA-1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Bisync (two way) to keep two directories in sync bidirectionally
  • Check mode to check for file hash equality
  • Can sync to and from network, e.g. two different cloud accounts
  • Optional large file chunking (Chunker)
  • Optional transparent compression (Compress)
  • Optional encryption (Crypt)
  • Optional FUSE mount (rclone mount)
  • Multi-threaded downloads to local disk
  • Can serve local or remote files over HTTP/WebDAV/FTP/SFTP/DLNA

Installation & documentation

Please see the rclone website for:

Downloads

Installing with Nix

The repository ships a Nix flake that installs the prebuilt binary from the latest release instead of building from source. It is available for x86_64-linux, aarch64-linux and armv7l-linux.

The package is called rclone-extra, but the binary it installs is rclone.

Try it without installing

nix run github:gulp79/rclone-extra -- version
nix shell github:gulp79/rclone-extra   # shell with `rclone` on PATH

Install into your user profile

nix profile install github:gulp79/rclone-extra

NixOS / home-manager

Add the flake as an input:

{
  inputs.rclone-extra.url = "github:gulp79/rclone-extra";
  # keep the flake from pulling its own copy of nixpkgs (optional)
  inputs.rclone-extra.inputs.nixpkgs.follows = "nixpkgs";
}

Then add the package, either to the system:

environment.systemPackages = [
  inputs.rclone-extra.packages.${pkgs.stdenv.hostPlatform.system}.default
];

or with home-manager:

home.packages = [
  inputs.rclone-extra.packages.${pkgs.stdenv.hostPlatform.system}.default
];

An overlay is also available as inputs.rclone-extra.overlays.default, which adds pkgs.rclone-extra.

Because the binary is named rclone, do not install it alongside nixpkgs' rclone in the same profile or systemPackages: the two will conflict.

Notes

  • rclone mount needs fusermount3 on PATH. On NixOS the setuid wrapper in /run/wrappers/bin normally provides it.
  • Building from a local checkout works too: nix build and then ./result/bin/rclone version.

How the flake is kept up to date

The release tag and the hashes of the release assets are stored in nix/version.json. The update-flake workflow runs after each release build, runs nix/update.sh and commits the new tag and hashes. You can run the script yourself to update by hand:

nix/update.sh            # latest release
nix/update.sh v1.75.1-extra   # a specific tag

How to Add a Terabox Remote in rclone-extra

The Terabox backend requires authentication using your account’s cookie because Terabox does not provide an official API. Follow these steps:


1. Install the Modified rclone

Download and install the custom build from rclone-extra releases or compile it from source:


2. Get Your Terabox Authentication Cookie

You need the Cookie header from your logged-in session:

  1. Log in to Terabox using your browser.

  2. Open Developer Tools (F12) β†’ Network tab.

  3. Refresh the page and select any request to www.terabox.com.

  4. Look for the Request Headers section and copy the entire Cookie value.

    • Example:

      Cookie: BDUSS=xxxx; STOKEN=xxxx; ...
      

3. Configure the Remote

Run the rclone config command:

rclone config

Mostra piΓΉ linee

  • Choose n for a new remote.
  • Enter a name (e.g., terabox).
  • Select the backend: terabox.
  • When prompted for authentication, paste the full cookie string.

4. Test the Remote

Verify the configuration:

rclone ls terabox:

If everything is correct, you should see your files listed.


Notes

  • The cookie may expire after some time; repeat the process if you encounter authentication errors.

  • For better security, store the cookie in your rclone config file and restrict file permissions:

    chmod 600 ~/.config/rclone/rclone.conf
    

License

This is free software under the terms of the MIT license (check the COPYING file included in this package).

About

"rsync for cloud storage" - Teldrive, Terabox, Alldebrid, Alist, Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Resources

Code of conduct

Contributing

Stars

77 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages