[wellylug] ls capacity

Andrew Thompson andy at fud.org.nz
Fri Nov 29 16:11:16 NZDT 2002


On Fri, 2002-11-29 at 16:11, edouard wrote:
> Thanks for your answers.....
> Well it is actually to pipe a list of file into 
> 
> ls *.tga | xargs -n1 tgatoppm | ppmtoy4m | yuvscaler -O SVCD | etc......
> 

find . -name \*.tga | xargs -n1 tgatoppm | ppmtoy4m | yuvscaler -O SVCD
| etc......

find may work better as the shell wont expand the * first.



> I have 15000 files (that's a minimum) generated by a perlscript calling gimp 
> functions.
> 
> So, doing
> ls -f | grep '\.jpg$'
> The '-f' tells 'ls' not to try and sort the files either.
> 
>  --> Will give it a try but I actually need my files to be sorted by 
> alphabetical order (out1.tga to out15000.tga)
> 
> As for the text editor as long as I can export each file to a line (..... 
> "more" will probably do)
> 
> Will see how far my line is going and will tell you results from your methods.
> 
> Thanks again
> Edouard
> 
> 
>   .-.   Wellington
>   /V\   Linux
>  // \\  Users       
> /(   )\ Group
>  ^^-^^
>         http://wlug.paradise.net.nz/
> 
> To unsubscribe from this group, send an email to:
> wellylug-unsubscribe at egroups.com
>   
> 
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
> 
> 


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/CBxunD/vN2EAA/xGHJAA/0XFolB/TM
---------------------------------------------------------------------~->

  .-.   Wellington
  /V\   Linux
 // \\  Users       
/(   )\ Group
 ^^-^^
        http://wlug.paradise.net.nz/

To unsubscribe from this group, send an email to:
wellylug-unsubscribe at egroups.com
  

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 





More information about the wellylug mailing list