Archive: Recurse over the contents of a directory


Recurse over the contents of a directory
Hello,

I'd like to recurse over the contents of a directory in order to check if any of the files in the folder or subfolders of it are in use.

I found this http://forums.winamp.com/showthread.php?threadid=274495 which checks to see if a file is in use or not, but I can't figure out how to recurse over the folder contents to perform this for all the files in the folder and its subfolders.


Use the Locate plug-in or one of the recursive search functions on the Wiki.

Edit: It may be easier just to try renaming the root directory. That should not work in theory.

Stu