Skip to content

CLI: add mv command #37

Open
Open
@tzach

Description

@tzach

a command for moving a file/dir, compatible with linux semantic:

mv [OPTION]... [-T] SOURCE DEST
mv [OPTION]... SOURCE... DIRECTORY
mv [OPTION]... -t DIRECTORY SOURCE...

The following subset of options are useful:
-f, --force
do not prompt before overwriting
-i, --interactive
prompt before overwrite
-t, --target-directory=DIRECTORY
move all SOURCE arguments into DIRECTORY
-T, --no-target-directory
treat DEST as a normal file
-u, --update
move only when the SOURCE file is newer than the destination
file or when the destination file is missing
--help display this help and exit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions