Supported Commands

RcloneInterface.jl provides high-level Julia wrappers for the most commonly used rclone operations. All functions support filtering (exclude, include, max_age, etc.), verbosity control, and an extra_flags escape hatch for advanced options.

CommandFunctionDescription
Copyrclone_copy(src, dst; ...)Copy files from source to destination (non-destructive).
Syncrclone_sync(src, dst; ...)Make destination identical to source (can delete files).
Moverclone_move(src, dst; ...)Move files and delete from source after transfer.
Listrclone_ls(path; ...)List files with size (like rclone ls).
Deleterclone_delete(path; ...)Delete files matching filters (use dry_run=true).
Checkrclone_check(src, dst; ...)Verify file integrity via size/hash.
Deduperclone_dedupe(path; ...)Find and resolve duplicate files.
Sizerclone_size(path; ...)Get total object count and size summary.
Treerclone_tree(path; ...)Print directory hierarchy.
Mountrclone_mount(remote, local; ...)Mount remote as local filesystem (blocks).
Versionrclone_version()Show rclone version info.
Helprclone_help(topic="sync")Get help for any command or backend.

All functions:

  • Accept local paths ("local:/data") or configured remotes ("gdrive:backup").
  • Default to safe mode where applicable (dry_run=true for destructive ops).
  • Return command output as a string for parsing or logging.

```