Rclone 1.55 has been released. Find it here Rclone downloads
Some highlights of the release:
- rclone selfupdate for updating rclone
- macOS ARM64 is now fully supported
- Connection strings
- Config system re-work
- Lots of work on getting cancellation to work everywhere (eg for --max-duration)
- Lots of little but important fixes in the VFS layer for
rclone mount
Thank you to all the contributors to this release, those who contributed code or doc fixes (33 people) or made issues or answered questions in the forum - your help is much appreciated!
I'd like to welcome our new maintainer @albertony who has being doing a fantastic job fixing up lots of things and improving the documents.
Thank you also to CERN and the CS3MESH4EOSC Project for sponsoring the "Connection strings" improvement - see below for details.
If you (or your company) is enjoying rclone, please consider donating to keep the project sustainable, or hire me to add a feature you really want!
v1.55.0 - 2021-03-31
- New commands
-
selfupdate (Ivan Andreev)
- Allows rclone to update itself in-place or via a package (using
--package
flag) - Reads cryptographically signed signatures for non beta releases
- Works on all OSes.
- Allows rclone to update itself in-place or via a package (using
-
test - these are test commands - use with care!
-
histogram
- Makes a histogram of file name characters. -
info
- Discovers file name or other limitations for paths. -
makefiles
- Make a random file hierarchy for testing. -
memory
- Load all the objects at remote:path into memory and report memory stats.
-
-
selfupdate (Ivan Andreev)
- New Features
-
Connection strings
- Config parameters can now be passed as part of the remote name as a connection string.
- For example to do the equivalent of
--drive-shared-with-me
usedrive,shared_with_me:
- Make sure we don't save on the fly remote config to the config file (Nick Craig-Wood)
- Make sure backends with additional config have a different name for caching (Nick Craig-Wood)
- This work was sponsored by CERN, through the CS3MESH4EOSC Project.
- CS3MESH4EOSC has received funding from the European Union’s Horizon 2020
- research and innovation programme under Grant Agreement no. 863353.
- build
- Update go build version to go1.16 and raise minimum go version to go1.13 (Nick Craig-Wood)
- Make a macOS ARM64 build to support Apple Silicon (Nick Craig-Wood)
- Install macfuse 4.x instead of osxfuse 3.x (Nick Craig-Wood)
- Use
GO386=softfloat
instead of deprecatedGO386=387
for 386 builds (Nick Craig-Wood) - Disable IOS builds for the time being (Nick Craig-Wood)
- Androids builds made with up to date NDK (x0b)
- Add an rclone user to the Docker image but don't use it by default (cynthia kwok)
- dedupe: Make largest directory primary to minimize data moved (Saksham Khanna)
- config
- Wrap config library in an interface (Fionera)
- Make config file system pluggable (Nick Craig-Wood)
-
--config ""
or"/notfound"
for in memory config only (Nick Craig-Wood) - Clear fs cache of stale entries when altering config (Nick Craig-Wood)
- copyurl: Add option to print resulting auto-filename (albertony)
- delete: Make
--rmdirs
obey the filters (Nick Craig-Wood) - docs - many fixes and reworks from edwardxml, albertony, pvalls, Ivan Andreev, Evan Harris, buengese, Alexey Tabakman
- encoder/filename - add SCSU as tables (Klaus Post)
- Add multiple paths support to
--compare-dest
and--copy-dest
flag (K265) - filter: Make
--exclude "dir/"
equivalent to--exclude "dir/**"
(Nick Craig-Wood) - fshttp: Add DSCP support with
--dscp
for QoS with differentiated services (Max Sum) - lib/cache: Add Delete and DeletePrefix methods (Nick Craig-Wood)
- lib/file
- Make pre-allocate detect disk full errors and return them (Nick Craig-Wood)
- Don't run preallocate concurrently (Nick Craig-Wood)
- Retry preallocate on EINTR (Nick Craig-Wood)
- operations: Made copy and sync operations obey a RetryAfterError (Ankur Gupta)
- rc
- Add string alternatives for setting options over the rc (Nick Craig-Wood)
- Add
options/local
to see the options configured in the context (Nick Craig-Wood) - Add
_config
parameter to set global config for just this rc call (Nick Craig-Wood) - Implement passing filter config with
_filter
parameter (Nick Craig-Wood) - Add
fscache/clear
andfscache/entries
to control the fs cache (Nick Craig-Wood) - Avoid +Inf value for speed in
core/stats
(albertony) - Add a full set of stats to
core/stats
(Nick Craig-Wood) - Allow
fs=
params to be a JSON blob (Nick Craig-Wood)
- rcd: Added systemd notification during the
rclone rcd
command. (Naveen Honest Raj) - rmdirs: Make
--rmdirs
obey the filters (Nick Craig-Wood) - version: Show build tags and type of executable (Ivan Andreev)
-
Connection strings
- Bug Fixes
- install.sh: make it fail on download errors (Ivan Andreev)
- Fix excessive retries missing
--max-duration
timeout (Nick Craig-Wood) - Fix crash when
--low-level-retries=0
(Nick Craig-Wood) - Fix failed token refresh on mounts created via the rc (Nick Craig-Wood)
- fshttp: Fix bandwidth limiting after bad merge (Nick Craig-Wood)
- lib/atexit
- Unregister interrupt handler once it has fired so users can interrupt again (Nick Craig-Wood)
- Fix occasional failure to unmount with CTRL-C (Nick Craig-Wood)
- Fix deadlock calling Finalise while Run is running (Nick Craig-Wood)
- lib/rest: Fix multipart uploads not stopping on context cancel (Nick Craig-Wood)
- Mount
- Allow mounting to root directory on windows (albertony)
- Improved handling of relative paths on windows (albertony)
- Fix unicode issues with accented characters on macOS (Nick Craig-Wood)
- Docs: document the new FileSecurity option in WinFsp 2021 (albertony)
- Docs: add note about volume path syntax on windows (albertony)
- Fix caching of old directories after renaming them (Nick Craig-Wood)
- Update cgofuse to the latest version to bring in macfuse 4 fix (Nick Craig-Wood)
- VFS
-
--vfs-used-is-size
to report used space using recursive scan (tYYGH) - Don't set modification time if it was already correct (Nick Craig-Wood)
- Fix Create causing windows explorer to truncate files on CTRL-C CTRL-V (Nick Craig-Wood)
- Fix modtimes not updating when writing via cache (Nick Craig-Wood)
- Fix modtimes changing by fractional seconds after upload (Nick Craig-Wood)
- Fix modtime set if
--vfs-cache-mode writes
/full
and no write (Nick Craig-Wood) - Rename files in cache and cancel uploads on directory rename (Nick Craig-Wood)
- Fix directory renaming by renaming dirs cached in memory (Nick Craig-Wood)
-
- Local
- Add flag
--local-no-preallocate
(David Sze) - Make
nounc
an advanced option except on Windows (albertony) - Don't ignore preallocate disk full errors (Nick Craig-Wood)
- Add flag
- Cache
- Add
--fs-cache-expire-duration
to control the fs cache (Nick Craig-Wood)
- Add
- Crypt
- Add option to not encrypt data (Vesnyx)
- Log hash ok on upload (albertony)
- Azure Blob
- Add container public access level support. (Manish Kumar)
- B2
- Fix HTML files downloaded via cloudflare (Nick Craig-Wood)
- Box
- Fix transfers getting stuck on token expiry after API change (Nick Craig-Wood)
- Chunker
- Partially implement no-rename transactions (Maxwell Calman)
- Drive
- Don't stop server side copy if couldn't read description (Nick Craig-Wood)
- Pass context on to drive SDK - to help with cancellation (Nick Craig-Wood)
- Dropbox
- Add polling for changes support (Robert Thomas)
- Make
--timeout 0
work properly (Nick Craig-Wood) - Raise priority of rate limited message to INFO to make it more noticeable (Nick Craig-Wood)
- Fichier
- Implement copy & move (buengese)
- Implement public link (buengese)
- FTP
- Implement Shutdown method (Nick Craig-Wood)
- Close idle connections after
--ftp-idle-timeout
(1m by default) (Nick Craig-Wood) - Make
--timeout 0
work properly (Nick Craig-Wood) - Add
--ftp-close-timeout
flag for use with awkward ftp servers (Nick Craig-Wood) - Retry connections and logins on 421 errors (Nick Craig-Wood)
- Hdfs
- Fix permissions for when directory is created (Lucas Messenger)
- Onedrive
- Make
--timeout 0
work properly (Nick Craig-Wood)
- Make
- S3
- Fix
--s3-profile
which wasn't working (Nick Craig-Wood)
- Fix
- SFTP
- Close idle connections after
--sftp-idle-timeout
(1m by default) (Nick Craig-Wood) - Fix "file not found" errors for read once servers (Nick Craig-Wood)
- Fix SetModTime stat failed: object not found with
--sftp-set-modtime=false
(Nick Craig-Wood)
- Close idle connections after
- Swift
- Update github.com/ncw/swift to v2.0.0 (Nick Craig-Wood)
- Implement copying large objects (nguyenhuuluan434)
- Union
- Fix crash when using epff policy (Nick Craig-Wood)
- Fix union attempting to update files on a read only file system (Nick Craig-Wood)
- Refactor to use fspath.SplitFs instead of fs.ParseRemote (Nick Craig-Wood)
- Fix initialisation broken in refactor (Nick Craig-Wood)
- WebDAV
- Add support for sharepoint with NTLM authentication (Rauno Ots)
- Make sharepoint-ntlm docs more consistent (Alex Chen)
- Improve terminology in sharepoint-ntlm docs (Ivan Andreev)
- Disable HTTP/2 for NTLM authentication (georne)
- Fix sharepoint-ntlm error 401 for parallel actions (Ivan Andreev)
- Check that purged directory really exists (Ivan Andreev)
- Yandex
- Make
--timeout 0
work properly (Nick Craig-Wood)
- Make
- Zoho
- Replace client id - you will need to
rclone config reconnect
after this (buengese) - Add forgotten setupRegion() to NewFs - this finally fixes regions other than EU (buengese)
- Replace client id - you will need to