Skip to content

why we use in "archive_command" cp with "-i" flag? #1

@Niemi

Description

@Niemi

maybe right solution is "-f"
(cp man page)
-f, --force
if an existing destination file cannot be opened, remove it and try again (redundant if the -n option is used)

   -i, --interactive
          prompt before overwrite (overrides a previous -n option)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions