mirror of https://github.com/CrimsonTome/tldr.git
cp: fix typo in target folder path (#2492)
parent
3bf256f6cb
commit
c049a605b5
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- Copy a file into another folder, keeping the filename:
|
- Copy a file into another folder, keeping the filename:
|
||||||
|
|
||||||
`cp {{path/to/file.ext}} {{path/to/target/parent/folder}}`
|
`cp {{path/to/file.ext}} {{path/to/target_parent_folder}}`
|
||||||
|
|
||||||
- Copy a folder recursively to another location:
|
- Copy a folder recursively to another location:
|
||||||
|
|
||||||
|
@ -20,8 +20,8 @@
|
||||||
|
|
||||||
- Copy the contents of a folder into another folder:
|
- Copy the contents of a folder into another folder:
|
||||||
|
|
||||||
`cp -r {{path/to/source/folder/*}} {{path/to/target/folder}}`
|
`cp -r {{path/to/source_folder/*}} {{path/to/target_folder}}`
|
||||||
|
|
||||||
- Copy text files to another location, in interactive mode (prompts user before overwriting):
|
- Copy text files to another location, in interactive mode (prompts user before overwriting):
|
||||||
|
|
||||||
`cp -i {{*.txt}} {{path/to/source/}}`
|
`cp -i {{*.txt}} {{path/to/target_folder}}`
|
||||||
|
|
Loading…
Reference in New Issue