What is the problem you are having with rclone?
I have problem with --filter="- vendor/" seems doesn't exclude folder that has vendor in any folder, the question it, is this not supported? Or ** only works for file not folder?
Run the command 'rclone version' and share the full output of the command.
1.61
Which cloud storage system are you using? (eg Google Drive)
Sharepoint and GoogleDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone bisync path1:/somefolder /home/local/path -P --filter="- **vendor/**" --verbose
The rclone config contents with secrets removed.
None
A log from the command with the -vv
flag
Files getting deleted... with vendor folder included
For notes I already see Filter a folder and all sub folders/files not working - #13 by notDavid and the docs, seems there ** is being used for files example only.
I also already read the path wildcard, sadly even with this config, seems not working and kept deleting the file, but strangely... if I use rclone ls /home/local/path --filter="- vendor/**"
, it won't list the files/folder...
Description | Pattern | Matches | Does not match |
---|---|---|---|
Path Wildcard | dir/** | /dir/anyfile | file.png |
/subdir/dir/subsubdir/anyfile | /subdir/file.png |