Jump to content
Sign in to follow this  
bdb4269

Is there a simple way to search for files in a tree without 'manually' crawling around it?

Recommended Posts

bdb4269

As the title says, I was wondering #1 if there is a simple way to search for files in a tree without 'manually' crawling around it?

I guess, I'm probably looking for a UDF that is search function that will list the matching files (Full path/filename) to an array.

And/or is there a simple way to manually crawl around the tree, and do a set of commands in every directory? I'm sure I could do this on my own -- but I have a feeling, I would make it a lot harder than it needs to be, so I wanted to ask, before I dig in and try to do this.

Share this post


Link to post
Share on other sites
DirtDBaK

So like a recursive file search? Search the example scripts..


[center][/center]

Share this post


Link to post
Share on other sites
bdb4269

So like a recursive file search? Search the example scripts..

Exactly!! And I bet "recursive" is the missing search term* I need to narrow down the results and find what I want.

Thanks!! <_<

*(I knew there was a word for that, but oddly couldn't think of it - despite the fact I work on linux, and use the -r "recursive" switch on 'rm' and 'cp' all the time.... lol)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.