The config, includes excludes just isnt clicking

What is the problem you are having with rclone?

Config including specific directories and excluding others.

What is your rclone version (output from rclone version)

rclone v1.53.3

  • os/arch: windows/amd64
  • go version: go1.15.5

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

Win 10 64 bit

Which cloud storage system are you using? (eg Google Drive)


The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone lsd remote: --filter-from "C:\Program Files (x86)\rclone\filter-file.txt"

Here's my filter-file.txt:

- "My Pictures"/Scans/**
+ "My Pictures"/**
+ "My Videos"/**
- /**

I've tried things n number of different ways but I can only seem to get everything excluded (above) or everything included (removing -/**)

Also tried:

- /"My Pictures"/Scans/**
+ /"My Pictures"/**
+ /"My Videos"/**
- /**

which excludes everything

- /"My Pictures"/Scans/**
+ /"My Pictures"/**
+ /"My Videos"/**

includes everything!

hello and welcome to the forum,

fitering can be very confusing.

perhaps try not using quotes

First, don't use the " - you don't need them in a filter file.

Secondly I suspect you just want to include "My Pictures" at the root, not anywhere, so add a / in front of that.

- /My Pictures/Scans/**
+ /My Pictures/**
+ /My Videos/**
- /**

That should work and include just "My Pictures" and "My Videos" from the root of the transfer, but exclude everything else and "My Pictures/Scans"

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