cloudius-systems / mgmt

20 stars 11 forks source link

CLI: add cp command #35

Closed tzach closed 10 years ago

tzach commented 10 years ago

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

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

The following subset of options are useful: -i, --interactive prompt before overwrite -R, -r, --recursive copy directories recursively --help display this help and exit -t, --target-directory=DIRECTORY copy all SOURCE arguments into DIRECTORY -T, --no-target-directory treat DEST as a normal file

tzach commented 10 years ago

can be base on #11