mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 07:57:28 +00:00
Update cheatsheets
This commit is contained in:
4
tldr/cp
4
tldr/cp
@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
- Copy a file to another location:
|
||||
|
||||
`cp {{path/to/source_file.ext}} {{path/to/target_file.ext}}`
|
||||
`cp {{path/to/source_file}} {{path/to/target_file}}`
|
||||
|
||||
- Copy a file into another directory, keeping the filename:
|
||||
|
||||
`cp {{path/to/source_file.ext}} {{path/to/target_parent_directory}}`
|
||||
`cp {{path/to/source_file}} {{path/to/target_parent_directory}}`
|
||||
|
||||
- Recursively copy a directory's contents to another location (if the destination exists, the directory is copied inside it):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user