Skip to content

Instantly share code, notes, and snippets.

@ncimino
Created January 19, 2013 20:13
Show Gist options
  • Save ncimino/4574824 to your computer and use it in GitHub Desktop.
Save ncimino/4574824 to your computer and use it in GitHub Desktop.
#!/bin/sh
# To copy from the one file to several directories, use:
find -maxdepth 1 -mindepth 1 -type d -exec cp ${1} {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment