mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-13 22:51:13 +03:00
433 B
433 B
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}}