Struggling to get filters to work

I'm struggling getting the filters to work. I had it working with a 300K line filter file that I reduced to 1K and now it doesn't seem to work at all. It was a bit sketchy but mostly worked before the change.

I'm using the --exclude-from file filter , this is a brief sample of the filter:

/$Recycle.Bin/**
/$RECYCLE.BIN/**
//?/GLOBALROOT/Device/**
/_SMSTaskSequence/**
/Bginfo/**
/Bginfo/Bginfo.exe
/Bginfo/bginfo_run.bat
/Bginfo/Bginfo64.exe
/Bginfo/Eula.txt
/Bginfo/wdhb_config.bgi
/Business Applications/Seagate Info 7/**
/cbordwin/**
/Config.Msi/**
/DGLogs/**
/epinet/**
/FFARS/**
/FFARS/UploadSuccessful/**
/hiberfil.sys
/inetpub/wwwroot/aspnet_client/system_web/2_0_50727/crystalreportviewers13/**
/Intel/**
/Intel/Logs/**
/list.txt
/MININT/**
/MININT/SMSOSD/OSDLOGS/**
/MSOCache/**
/oracle/BIToolsHome_1/**
/pagefile.sys
/PerfLogs/**
/PreInitLog.log
/Program Files (x86)/7-Zip/**
/Program Files (x86)/Acro Software/CutePDF Writer/**
/Program Files (x86)/Adobe/Acrobat DC/**
/Program Files (x86)/Adobe/Acrobat Reader DC/**
/Program Files (x86)/Application Verifier/**
/Program Files (x86)/ArcGIS/ArcReader10.0/**
/Program Files (x86)/BIDS Helper 2012/**

c:\Temp\rclone>rclone.exe --version
rclone v1.48.0

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

Windows 10 1809

Windows file share on server 2012 via mapped drive.

rclone copy c:\ SyncToZ:Z:\HWL72033 --exclude-from excludelistascii.txt --ignore-case --config=rclone.conf --log-file=c:\temp\rclone.log

Please advise.

Can you share what isn't working with a -vv log?

You want to check out:

https://rclone.org/filtering/#filter-from-read-filtering-patterns-from-a-file

If you can give what you are trying to accomplish, it might be easier to match top down using the above rather than excluding.

I'm trying to backup unknown data. effectively I'm excluding what we know so that what is copied is the unknown.

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