Skip to content

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

Open

Description

@hanbings

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.

Activity

  1. 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.[/+] on Aug 11, 2024
  2. tonakai-s commented on Mar 19, 2025

    @tonakai-s

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

  3. hanbings commented on Mar 20, 2025

    @hanbings
    CollaboratorAuthor

    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! :)

  4. added a commit that references this issue on Aug 19, 2026
    8de1e3a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions