Does anyone know where I can download a tool that will allow me to search a folder of 'text files' of any extension (could be .txt or any other name but they contain text) and display result of the number of rows in the text file that i choose?
Example file.info
Hello my name is Brian
This is a 'text' file
Can you print me
Thanks for reading
the tool will allow me to search by the number of rows i choose. if i chose 4 then file.info would be displayed because it has 4 rows.
Figured i'd do in shell, but i still have one more problem. doing in shell leads me to this:
which does the job, but how could i move those files whose # of rows = # (# is the number of rows in the file) into another directory?
that's what i am looking for.
thanks
__________________
Sig Less - Have some site you want me to put here? Will put here for a couple of paypal bucks.
Last edited by Brian07002; 08-15-2009 at 01:53 AM..
|