When scanning, dupd ignores zero-length files (because they are all technically duplicates but not very interesting since that's always the case). Note that the -m option may be used to set the size ignore limit higher, but the default is 1.
However, the interactive list comands (ls, dups, uniques) do show empty files which is inconsistent and can be confusing.
A simple test case using dupd 1.7 release:
% mkdir test
% cd test
% touch empty
% dupd scan --uniques
Files: 1 0 errors 0 ms
Total duplicates: 0 files in 0 groups in 853 ms
% dupd report
Total used: 0 bytes (0 KiB, 0 MiB, 0 GiB)
% dupd uniques
/tmp/test/empty
When scanning, dupd ignores zero-length files (because they are all technically duplicates but not very interesting since that's always the case). Note that the -m option may be used to set the size ignore limit higher, but the default is 1.
However, the interactive list comands (ls, dups, uniques) do show empty files which is inconsistent and can be confusing.
A simple test case using dupd 1.7 release: