Rclone sync local 2 google drive & delete local files

What is the problem you are having with rclone?

I use sync from local to google drive. the sync is working well but I want synced files are deleting after the upload. Is there a flag or Option?

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

rclone v1.59.1

  • os/version: ubuntu 20.04 (64 bit)
  • os/kernel: 5.4.0-125-generic (x86_64)
  • os/type: linux
  • os/arch: amd64
  • go/version: go1.18.5
  • go/linking: static
  • go/tags: none

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

Google Drive

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

rclone sync -v /local/path remote: --max-transfer 740G --drive-stop-on-upload-limit --ignore-existing --exclude _unpack/

The rclone config contents with secrets removed.

my config is okay ... don't worry about this

A log from the command with the -vv flag

no log because I looking for help.

So you want move then and not sync?

yes I want move them and after moving delete it local and keep only at the remote drive


So you use rclone move rather than rclone sync

Test with --dry-run and make sure that does what you need.

1 Like
rclone move -v /local/path remote: --dry-run --max-transfer 740G --drive-stop-on-upload-limit --ignore-existing --exclude _unpack/

so you mean like this?

I'd say max-transfer is not needed if you are going to stop on upload limit.

I'd use dry-run to make sure it works before you delete stuff as ignore-existing might be right for your use case, but I can't comment for sure.

Thank you
i will try running it in 24 hours. today I reach my limit already.

no this was not the right way to move my files. now the gone and I have only empty folders.

Sorry as I'm not following what you want to happen.

Did you test before with --dry-run like I suggested? It shows what will happen.

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