Still by VisualMode
Home Blogmarks TILs Consulting
Home Blogmarks TILs Consulting
← Back to all TILs

Do Not Overwrite Existing Files

unix Written October 11, 2015

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

Other posts like this

  • Get Help With A Rails App Update rails
  • Excluding Files Locally git
  • Securely Remove Files unix
  • Seed Production Data Into Another Branch planetscale
  • Get ActiveRecord Attribute Directly From Database rails