Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created March 17, 2013 04:08
Show Gist options
  • Select an option

  • Save blissdev/5180051 to your computer and use it in GitHub Desktop.

Select an option

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