8000 Specifying the same file for output multiple times in `find` will overwrite the file by default. · Issue #439 · uutils/findutils · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Specifying the same file for output multiple times in find will overwrite the file by default. #439

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

Open
hanbings opened this issue Aug 11, 2024 · 2 comments · May be fixed by #511
Open
Labels

Comments

@hanbings
Copy link
Collaborator

refer: #421 (comment)

For future reference: GNU find de-duplicates files, so if you do find -fprint foo -fprint foo it will use the same FILE * for both and you'll get each line twice. Right now uutils will use two different Files and the writes will overlap with each other.

@hanbings hanbings added the bug label Aug 11, 2024
@hanbings hanbings changed the title Specifying the same file for output multiple times in find will overwrite the file by default. Specifying the same file for output multiple times in find will overwrite the file by default. Aug 11, 2024
@tonakai-s
Copy link
tonakai-s commented Mar 19, 2025

Hello!
Is someone working on it? I would like to give it a try, if not.
Thanks.

@hanbings
Copy link
Collaborator Author
hanbings commented Mar 20, 2025

Is someone working on it? I would like to give it a try, if not.

As far as I know, not yet. Contributions are welcome! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants
0