Skip to content
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

Add flag to ignore inode changes in removeifnotchanged #192

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dnadle
Copy link

@dnadle dnadle commented May 14, 2024

This commit adds a command line option (-e or --noinodes) to allow fdupes to remove duplicates even if the inode changes between calls to stat(). The following comment added to README explains:

Some remote-mounted filesystems (e.g. gvfs-smb) generate inodes in
the client instead of sending server inode values. With a large
number of files or client cache activity, inodes can change even
though the file has not changed or moved. Using -e or --noinodes
allows fdupes to delete files where the device, creation and
modification times, and size has not changed during processing,
ignoring any inode change.

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

Successfully merging this pull request may close these issues.

1 participant