mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
6956cd5348
Change Unicode characters to ASCII: - non-breaking spaces (\xc2\xa0) to normal spaces (\x20) - apostrophes (there are only 2 Unicode apostrophes, all others are already ASCII) - hyphen (−) to minus (-) - fix wording (STD‐OUT to "standard output")
443 B
443 B
ditto
Copy files and directories.
- Overwrite contents of destination directory with contents of source directory:
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 directory, while retaining the original file permissions:
ditto -rsrc {{path/to/source}} {{path/to/destination}}