8000 Empty files are listed by the interactive list commands ls,dups,uniques · Issue #47 · jvirkki/dupd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Empty files are listed by the interactive list commands ls,dups,uniques #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jvirkki opened this issue Jun 4, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@jvirkki
Copy link
Owner
jvirkki commented Jun 4, 2023

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
@jvirkki
Copy link
Owner Author
jvirkki commented Jun 7, 2023

Fixed in 1.7.3

62E6
@jvirkki jvirkki closed this as completed Jun 7, 2023
jvirkki added a commit that referenced this issue Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0