Thanks yaman, , this script should do it, note that it is ls -1 (one)
and not ls -l (small L)


On Mon, 21 Feb 2005 17:12:48 +0200, Yaman Saqqa <[EMAIL PROTECTED]> wrote:
> simple starting point, hope it helps.
> #!/bin/bash
> ###################
> OFILE=/path/to/your/outputfile
> 
> for target in `ls -1 [yourtargetpath]`
> do
>     /path/to/command $target >> $FILE
> done
> ###################
> 
> On Mon, 21 Feb 2005 06:57:04 -0800 (PST), Husam Habannakeh
> <[EMAIL PROTECTED]> wrote:
> > i was a bad student while khamees bash lectures
> > i need this little help
> >
> > i need a script to do the following
> >
> > perform the following command
> > (command filename.ee) > output
> >
> > i need to do this command for all files in directory
> > populated with (ls) command
> >
> > and i need the output of (command filename.ee)
> > appended in one text file
> >
> > is this hard to do or should i do it manually
> > and thanx
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail - Find what you need with new enhanced search.
> > http://info.mail.yahoo.com/mail_250
> >
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://jolug.org/mailman/listinfo/general_jolug.org
> >
> 
> --
> abulyomon
> 
> www.KiLLTHeUPLiNK.com
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://jolug.org/mailman/listinfo/general_jolug.org
> 


-- 

-------------------------------------------------------------------
Khamis Siksek

_______________________________________________
General mailing list
[email protected]
http://jolug.org/mailman/listinfo/general_jolug.org

Reply via email to