RSS Forums RSS
Please support our Getting Started and Choosing a Distro advertiser: Lunarpages Linux Web Hosting

Basic scripting question

Join Date: Dec 2003
Location: Nashville, TN
Posts: 2,336
Reputation: alc6379 has a spectacular aura about alc6379 has a spectacular aura about alc6379 has a spectacular aura about 
Rep Power: 12
Solved Threads: 102
Colleague
alc6379's Avatar
alc6379 alc6379 is offline Offline
Cookie... That's it

Re: Basic scripting question

  #2  
Sep 3rd, 2005
you could do that REALLY quickly:

cd mydir/
for i in *.mid : do 
     myfile.sh
done

I think that's right-- just do a little for loop can handle that nicely. You'll want to check my syntax-- I think it's right, though.
Alex Cavnar, aka alc6379
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:49 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC