Created
April 25, 2017 10:56
-
-
Save oolong32/00825987ada7325804838fb4b24fcbc2 to your computer and use it in GitHub Desktop.
shellscript – create file in a list of folders
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
for i in `ls -1` | |
do touch $i/filename.txt && echo "https://www.bla.com“ >> $i/filename.txt | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment