Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI: add mv command #37

Open
tzach opened this issue Mar 6, 2014 · 1 comment
Open

CLI: add mv command #37

tzach opened this issue Mar 6, 2014 · 1 comment

Comments

@tzach
Copy link
Member

tzach commented Mar 6, 2014

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

@tzach
Copy link
Member Author

tzach commented Mar 6, 2014

can be base on #11

@tzach tzach added CLI labels Mar 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant