* [gentoo-dev] Recurse directories
@ 2002-05-07 1:23 Matthew J. Turk
2002-05-07 3:09 ` [gentoo-dev] " Paul
0 siblings, 1 reply; 2+ messages in thread
From: Matthew J. Turk @ 2002-05-07 1:23 UTC (permalink / raw
To: gentoo-dev
Hi there - I was wondering if there's a portage command to recurse all
the directories in a given directory. Anybody? I know I could do a ls
-l |grep ^d|cut -cwhatever-1000, but I'm looking for something already
*in* portage, if it's available. Ideally, it would be something that
would return a list, for use in something like:
for i in `COMMAND`
do
...
done
Thanks!
mjt
---------------------------------------------------
Matthew J. Turk <m-turk@nwu.edu> ICQ: 3856787
"Music is the Best." - FZ thecatfishman.org
http://pubweb.nwu.edu/~mjt631/spamoff.htm
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-dev] Re: Recurse directories
2002-05-07 1:23 [gentoo-dev] Recurse directories Matthew J. Turk
@ 2002-05-07 3:09 ` Paul
0 siblings, 0 replies; 2+ messages in thread
From: Paul @ 2002-05-07 3:09 UTC (permalink / raw
To: gentoo-dev
"Matthew J. Turk" <m-turk@nwu.edu>, on Mon May 06, 2002 [08:23:29 PM] said:
> Hi there - I was wondering if there's a portage command to recurse all
> the directories in a given directory. Anybody? I know I could do a ls
> -l |grep ^d|cut -cwhatever-1000, but I'm looking for something already
> *in* portage, if it's available. Ideally, it would be something that
> would return a list, for use in something like:
>
> for i in `COMMAND`
> do
> ...
> done
>
> Thanks!
>
>
>
> mjt
Hi;
I think the 'find' command will do whatever you want.
eg. 'find . -type d -maxdepth 1 -exec THING {} \;'
Paul
set@pobox.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-07 3:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-07 1:23 [gentoo-dev] Recurse directories Matthew J. Turk
2002-05-07 3:09 ` [gentoo-dev] " Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox