1
0
mirror of https://github.com/jbranchaud/til synced 2026-01-03 15:18:01 +00:00

Add Do Not Overwrite Existing Files as a zsh til.

This commit is contained in:
jbranchaud
2015-08-03 17:07:04 -05:00
parent 5c3a83ee44
commit da11d4c8ff
2 changed files with 5 additions and 0 deletions

View File

@@ -189,6 +189,7 @@ smart people at [Hashrocket](http://hashrocket.com/).
- [Check If A Port Is In Use](zsh/check-if-a-port-is-in-use.md)
- [Clear The Screen](zsh/clear-the-screen.md)
- [Create A File Descriptor with Process Substitution](zsh/create-a-file-descriptor-with-process-substitution.md)
- [Do Not Overwrite Existing Files](zsh/do-not-overwrite-existing-files.md)
- [Killing A Frozen SSH Session](zsh/killing-a-frozen-ssh-session.md)
- [List All The Say Voices](zsh/list-all-the-say-voices.md)
- [Repeat Yourself](zsh/repeat-yourself.md)

View File

@@ -0,0 +1,4 @@
# 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.