mirror of https://github.com/CrimsonTome/tldr.git
cp: replace -r with -R (#4141)
parent
2786ad9aa2
commit
d7fc462613
|
@ -12,11 +12,11 @@
|
|||
|
||||
- Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it):
|
||||
|
||||
`cp -r {{path/to/directory}} {{path/to/copy}}`
|
||||
`cp -R {{path/to/directory}} {{path/to/copy}}`
|
||||
|
||||
- Copy a directory recursively, in verbose mode (shows files as they are copied):
|
||||
|
||||
`cp -vr {{path/to/directory}} {{path/to/copy}}`
|
||||
`cp -vR {{path/to/directory}} {{path/to/copy}}`
|
||||
|
||||
- Copy text files to another location, in interactive mode (prompts user before overwriting):
|
||||
|
||||
|
|
Loading…
Reference in New Issue