| |
# cp file01 /home/file02
Copy and rename file01 in the current directory as /home/file02
|
| -i |
prompt before overwrite (overrides a previous -n option)
|
| -f |
if an existing destination file cannot be opened, remove it and try again
(this option is ignored when the -n option is also used)
|
| -b |
If a file with the same name exists at the copy destination, create a backup and copy
|
| -p |
Copy with attributes preserved
|
| -r(R) |
copy directories recursively
|