-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
developmentStandard developmentStandard development
Description
Specification
The secrets cp command is very similar to the secrets mv command. It will copy the provided paths to the provided destination.
- copy a file to a destination directory
- Multiple source paths can be specified. The last argument is the destination.
- Globing and wildcards are supported.
- Globing is supported for the destination. but only the last of the list is the destination. I say we don't support it.
There are two main differences between the mv command.
- The source files are left unchanged the copied. The Inode of the source and destination are different.
- The destination files are always created fresh and overwrite the destination.
So there are no subtle behaviours with the moving the file vs copying them between filesystems.
Additional context
Related #32
Tasks
- Implement a
secrets cpcommand - Supports copying a file from source path to destination.
- And take a variable number of source paths with the last path being the destination.
- Supports globing and wild cards.
- Supports copying directories with contents.
Metadata
Metadata
Assignees
Labels
developmentStandard developmentStandard development