Skip to content

cp: implement -Z #7565

@adysec

Description

@adysec

GNU:

$ cp -Z
cp: Missing files to be operated on
Please try executing 'cp -- help' to obtain more information.

uutils:

$ cp -Z
error: unexpected argument '-Z' found

  tip: to pass '-Z' as a value, use '-- -Z'

Usage: cp [OPTION]... [-T] SOURCE DEST
       cp [OPTION]... SOURCE... DIRECTORY
       cp [OPTION]... -t DIRECTORY SOURCE...

For more information, try '--help'.
$ cp -- -Z
cp: missing destination file operand after "-Z"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions