Filters for .duplicacy

I’m having issues adding .duplicacy/filters to my backup. Is there a trick for this specific folder?

+.duplicacy/filters
+.duplicacy/

# exclude temporary file names
e:.*/?~.*$

# exclude common file types (case insensitive)
e:(?i)\.(bak|mp4|mkv|o|obj|old|tmp)$

# exclude any cache files/directories with cache in the name (case insensitive)
e:(?i).*cache.*

# exclude trash bin stuff
e:\.Trash/.*$o

# exclude downloads
e:Downloads/.*$

# exclude duplicacy test stuff
e:DUPLICACY_TEST_ZONE/.*$

# include home and config
+home/*
+root/*
+etc/*
+opt/*

# exclude everything else
-*

I think duplicacy skips .duplicacy directory altogether (it does not skip the possible .duplicacy directories for the embedded repositories)

You can keep your filters file elsewhere and either symlink it to under .duplicacy or include into the .duplicacy/filter file

1 Like

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