Filtering / excluding problems

Hi there,

i am using an rclone move command to move stuff from a directory containing multiple sub-directories to a remote.

There are files following a consistent naming pattern in each of the sub-directories which i want to exclude. Although i am trying hard to figure out the righ syntax for the --exclude flag, i can’t get it to work properly.

So the current pattern looks like /Directory/_Pattern_*/** but i would want it to work for even files or directories containing the specified pattern.

That exclude will match directories, for files you want /Directory/_Pattern_* as well I think.

Thanks, that seems to do the trick.

1 Like