mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-11 01:35:50 +02:00
cp: replace -r with -R (#4141)
This commit is contained in:
parent
2786ad9aa2
commit
d7fc462613
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue