Jump to content

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


bdb4269
 Share

Recommended Posts

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.

Link to comment
Share on other sites

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)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...