Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created March 17, 2013 04:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save blissdev/5180051 to your computer and use it in GitHub Desktop.
Save blissdev/5180051 to your computer and use it in GitHub Desktop.
Shell script to copy a directory to another directory.
#!/bin/sh
yes | cp -rf /origin/* /destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment