Created
February 7, 2014 15:39
-
-
Save heyalexej/8865077 to your computer and use it in GitHub Desktop.
Create file names from input file.
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
while read line; do touch $(echo -n "$line").myfilextension; done < input.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This one liner reads an input file line by line and creates file names with the extension of your choice. In case you don't have other interesting hobbies or just need to generate hundreds of thousands of files for something every once in a while.