ditto: add page

waldyrious/alt-syntax
webb04 2015-12-31 00:50:05 +00:00
parent 2c215438cd
commit 0fdd370a27
1 changed files with 15 additions and 0 deletions

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