Posted by Jason Unrein on 1999-11-12
> Anybody know how to get directory names
> and files recursively, for example say I
> have my home directory (/home/frank) I
> would like to get every directory under
> it with all the files contained under
> them too.
NOTE: I'm assuming your in c on linux. If not there should be a similar
command.
The easiest way would be to issue a system() command such as
system("find . - print") and get the text from the stdout.
Previous post | Next post | Timeline | Home