1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00
Files
til/unix/do-not-overwrite-existing-files.md
2015-10-11 12:23:41 -05:00

7 lines
212 B
Markdown

# Do Not Overwrite Existing Files
When using the `cp` command to copy files, you can use the `-n` flag to make
sure that you do not overwrite existing files.
h/t [Dillon Hafer](https://twitter.com/dillonhafer)