Created
July 17, 2013 22:09
-
-
Save infolock/6024993 to your computer and use it in GitHub Desktop.
Shell command to quickly copy a LICENSE (ie: /documents/LICENSE) file into a all subdirectories where all of my github projects are located : (ie: /sources/github/ contains jsToolkit, PHPToolset, etc.). This maxdepth option keeps it isolated to just the root of the subdirectories. removing it will traverse the entire directory tree and copy all …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find /sources/github -type d -maxdepth 1 -exec cp -i /documents/LICENSE {} \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment