Remove partially copied files from destination

What is the problem you are having with rclone?

I'm trying to remove files that were copied partially with rclone copy.

Run the command 'rclone version' and share the full output of the command.

rclone v1.62.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.15.0-1026-raspi (aarch64)
- os/type: linux
- os/arch: arm64 (ARMv8 compatible)
- go/version: go1.20.2
- go/linking: static
- go/tags: none

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

might try something like

rclone check /path/to/source /path/to/dest --size-only --one-way --differ=/path/to/file.lst
rclone delete /path/to/dest --files-from=/path/to/file.lst -vv --dry-run

I assume the first command will read the entire file from the source?

by default, rclone check compare hashes,
on local, rclone would have to read the entire source file and read the entire dest file.

in your case, partial files should have different file sizes.
using --size-only, rclone will stat the file, not read contents.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.