Using the filtering mechanism, is there any way to say include dir1, dir2, dir3, and file2, but exclude everything below them, such as file1? There are many more files and directories in dir1 than in my example, and they change over time, so I can't easily make a static list. Just curious. Thanks!
Well, that's the thing. The only logic is that I went to backup everything directly under dir1, and I want to exclude everything further below dir1. But I don't know any explicit names, so it'd have to use a regexp somehow.
Ah, good point. But to complicate things... dir1 is actually a directory deep in my home directory. I have a single rclone job that backs up my home directory. So, this isn't some isolated thing, which is why I was hoping to be able to use a filter. Thanks again!
I have a single rclone job that backs up entire home directory. I want it to back up everything except files and directories that are more than depth 1 under dir1. In this simple case, that would be file1, but there could be more.