View Single Post
Old 11-07-2004, 09:27 AM  
swedguy
Confirmed User
 
Industry Role:
Join Date: Jan 2002
Posts: 7,981
You didn't say if you wanted stuff in the files or not. So here's 2 examples

Add the names you want in list.txt


cat list.txt | xargs -n 1 touch


That will create empty files with names taken from list.txt


cat list | xargs -n 1 cp template.html


That will copy template.html to what ever names is in list.txt
swedguy is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote