Directories dir1 (source) and dir2 (remote) have the same content
I move the file dir1/data/document.pdf to dir1/system/document.pdf
I want to sync again dir1 and dir2, so:
3.1. I want rclone to copy dir1/system/document.pdf to dir2/system/document
3.2. I want rclone to copy dir1/data/document.pdf to frass/
3.3. I want rclone to delete dir2/data/document.pdf
But using --filter-from and --backup-dir, the document.pdf is copid, but the 3.2 and 3.3 steps never happens
What is your rclone version (output from rclone version)
rclone v1.56.0
os/version: debian bullseye/sid (64 bit)
os/kernel: 5.10.0-8-amd64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.16.5
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Local crypt
The command you were trying to run (eg rclone copy /tmp remote:tmp)
This doesn't make sense. You already moved dir1/data/document.pdf so how is it supposed to do this?
Step 3.3 should be happening (unless you are tracking renames in which case, the same as step 2 should happen. Where are the -vv logs requested by the template? They are requested for a reason and you removed that prompt.
Also, I am pretty sure you can't have a --backup-dir that overlaps your dest dir though I am not sure this is the case here. It is really hard to tell without the -vv log. Especially since /dir1 and /dir2 are absolute paths.
Thanks!
Have sense, because I didn't move the file still (the sync option only copy it). And yes, I think 3.2. and 3.3. are happening at the same time.
My command is only a sample. Of course, my --backup-dir doesn't overlap my destination, but I wanted to simplified the example. The point is, when I don't use the --include-from flag, the actions 3.1, 3.2 and 3.3 always occurs.
Alex.
Please get your story straight. In the title you say you are trying to use --filter-from and --backup-dir but the "complete command" you posted just uses --include-from.
Also it still doesn't make sense:
There is no dir1/data/document.pdf since you moved it to dir1/system/document.pdf