View Single Post

   
  #7 (permalink)  
Old 04-24-2008, 04:37 PM
moonhkt
 
Posts: n/a
Default Re: Parameter list is too long

On Apr 22, 6:25 pm, Hajo Ehlers <serv...@metamodul.com> wrote:
> On Apr 22, 11:13 am, Joachim Gann <joachim.g...@gmail.com> wrote:
> ...
>
> > or "find . -name \*.p > SOMEFILE"

>
> Which will also parse subdirectories as well. So it depends what the
> OP is really looking for.
>
> To the OP: You should keep in mind that a
> $ ls *.p
> will not only show files which end with ".p" but also the contents of
> ANY subdirectory ending with ".p" .
>
> Meaning that for example the following files and directories exist:
> a.p
> dir.p/
> dir.p/a.q
>
> a ls *.p will also show a.q. Might not what you are looking for.
>
> cheers
> Hajo


Thank
ls | grep "\.p$" and setup chdev are ok.
Reply With Quote