Rclone sync with delete only

Hi there, attempting to sync from google drive to some local storage I have.

The issue I'm having is that my local array is completely 100% full to the point where it is majorly erroring out. Writes are obviously prevented. I want to use rclone sync but only the delete aspect of it to free up some storage (it should get me roughly 10% back) which should be enough to allow read/writes and proper cleanup of both remotes.

My question is, is this possible? If not, what are some workarounds?

Rclone version: 1.58.0.beta.6018.ec72432ce

not sure, might try
rclone check to get a list of files, using --missing-on-src/--missing-on-dst
rclone sync --dry-run to get a list of files that would be deleted.
rclone sync --disable=copy --dry-run

if not, i am sure another fellow rcloner will have a solution.

Trying rclone check now, but --disable-copy doesn't work according to this thread: Sync with Delete Only? - #7 by ncw

--disable copy specifically disables the server side copy

well, a quick read of that thread, ncw offers a simple script.
did that not work for you?

Nope, the output was wrong and was deleting files I needed. I'm guessing this is because the lists aren't sorted and also it compares line by line, so all the lines are considered unique.

rclone check seems to generate the correct files, I'm going to try deleting via that now.

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