Skip to content

[busybox] cp command option –update=none #76636

@SBatais

Description

@SBatais

Hi

I'm using the cp command of the busybox package, and I have an issue to use the option –update=none. It seems that this option is not available.

BusyBox v1.37.0 (2025-09-02 23:34:50 UTC) multi-call binary.Usage: cp [-arPLHpfinlsTu] SOURCE DEST
or: cp [-arPLHpfinlsu] SOURCE... { -t DIRECTORY | DIRECTORY }Copy SOURCEs to DEST        -a      Same as -dpR
        -R,-r   Recurse
        -d,-P   Preserve symlinks (default if -R)
        -L      Follow all symlinks
        -H      Follow symlinks on command line
        -p      Preserve file attributes if possible
        -f      Overwrite
        -i      Prompt before overwrite
        -n      Don't overwrite
        -l,-s   Create (sym)links
        -T      Refuse to copy if DEST is a directory
        -t DIR  Copy all SOURCEs into DIR
        -u      Copy only newer files

Do I have to use the cp from another package ? or update the busybox package ?

I heard that the behavior of -n is non-portable and may change in future; use --update=none instead

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions