1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 02:15:24 +02:00

Merge pull request #521 from webb04/ditto

ditto: add page
This commit is contained in:
Felix Yan 2016-01-03 07:46:01 +08:00
commit fc146b135a

15
pages/osx/ditto.md Normal file
View file

@ -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}}`