Can't figure out how to ALWAYS exclude certain folders

Hi, I’m using restic to back up stuff from my Synology NAS. However, I can’t get it to exclude certain folders - specficially the #recycle and @eaDir folders created by DSM.

Restic commnad:

restic \
	-r "rclone:GoogleDrive:/NAS Backup" \
	--compression auto \
	--password-file "${KEYS_DIR}/Google Drive.key" \
	backup \
	--files-from "${INCLUDE_CONFIG}" \
	--exclude-file "${EXCLUDE_CONFIG}" \
	--host "${RESTIC_HOST}"

include file:

Lucy/**/*
docker/**/*

exclude file:

Lucy/Backups
!Lucy/Backups/Game Saves
!Lucy/Backups/*.tar
Lucy/Projects/Game Assets
**/#recycle
#recycle/**/*
**/#recycle/**/*
**/@eaDir
@eaDir/**/*
**/@eaDir/**/*

Are exclude/include files mutually exclusive, do include files take priority, or am I just doing this wrong? Do I just need to make a script which compiles the file list itself?

Yes, restic is the latest version:

Lucy@cat-cafe:~$ restic version
restic 0.14.0 compiled with go1.19 on linux/amd64

I figured it out… just use fd and --files-from-verbatim

# Get file list
fd \
	--type file \
	--color never \
	--ignore-file "${EXCLUDE_CONFIG}" \
	--search-path Lucy \
	--search-path docker > "${FILE_LIST}"
	
echo "Backing up $(cat "${FILE_LIST}" | wc -l) files"

# Google Drive Backup+Cleanup
restic \
	-r "rclone:GoogleDrive:/NAS Backup" \
	--compression auto \
	--password-file "${KEYS_DIR}/Google Drive.key" \
	backup \
	--files-from-verbatim "${FILE_LIST}" \
	--host "${RESTIC_HOST}"