Skip to content

Bash snippet: Initialize a bunch of files with dummy text

2011 January 10
by Tedb0t

Check it:

for i in test-{0..10}; do echo "dummy data" > $i; done

Neat!

Related Posts:


No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS