Command help; moving everything but one file (filter/exclude)

What is the problem you are having with rclone?

I want to move all files, except a certain text file. I read the 'filtering' page, and I believe that I need to use filter instead of exclude?

Can someone look at this command and see if its correct?

I want the final result to be the only file left in source is the "ytdl-archive.txt" file, and everything else gets uploaded to Destination.

What is your rclone version (output from rclone version)

Which OS you are using and how many bits (eg Windows 7, 64 bit)

W10, 64bit

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 move "K:\YouTube\Vlogs\Folder" "Websites:Archive\Websites\YouTube\Vlogs\Folder" --progress --transfers 1 --bwlimit 2M --fast-list --filter "ytdl-archive.txt"

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

a good way to test is to use rclone ls
rclone ls "K:\YouTube\Vlogs\Folder" --exclude="ytdl-archive.txt"

That is very useful, thank you! I read the documentation but I guess i must have overlooked that "ls" command, it will definitely help me out in future tasks!

sure, and since rclone move can delete files in the source, test with --dry-run

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