There's an
@eaDir folder:
Code: Select all
Ignore system path: /volume1/video/Series/TMP/X/@eaDir
The
@eaDir is not deleted:
Code: Select all
Delete /volume1/video/Series/TMP/X/yrte/RARBG.txt
Delete /volume1/video/Series/TMP/X/RARBG_DO_NOT_MIRROR.exe
Delete /volume1/video/Series/TMP/X/yrte

The
X folder is therefore not empty.
Friends4U wrote: ↑25 Aug 2021, 16:23
If that were the case, then ALL my folders magically have hidden files
Friends4U wrote: ↑25 Aug 2021, 16:23
I guarantee you, there are no hidden files whatsoever in these folders
Yes, and yes. Synology DSM is creating magic hidden
@eaDir folders whenever a remote SMB client writes extended attributes.

Good catch. That special case is not accounted for yet.
EDIT:
What are the contents of your
@eaDir folder? The contents of the
@eaDir are likely what prevents it from being deleted, which in turn prevents all parent folders from being deleted:

The
find command will print file paths line by line.