mirror of https://github.com/CrimsonTome/tldr.git
ditto: add page
parent
2c215438cd
commit
0fdd370a27
|
@ -0,0 +1,15 @@
|
||||||
|
# ditto
|
||||||
|
|
||||||
|
> Copy files and folders
|
||||||
|
|
||||||
|
- Overwrites contents of destination folder with contents of source folder
|
||||||
|
|
||||||
|
`ditto {{path/to/source}} {{path/to/destination}}`
|
||||||
|
|
||||||
|
- print a line to the Terminal window for every file that’s being copied
|
||||||
|
|
||||||
|
`ditto -V {{path/to/source}} {{path/to/destination}}`
|
||||||
|
|
||||||
|
- copy a given file or folder, while retaining the original file permissions.
|
||||||
|
|
||||||
|
`ditto -rsrc {{path/to/source}} {{path/to/destination}}`
|
Loading…
Reference in New Issue