I have a folder, that contains other folders, which may or may not contain other folders, where the files might reside. I want to scan the entire dir structure, and find files larger than 100MB, and move these files to the top level directory.
Whats a good way to accomplish this, in php?
For example:
/data/1/subfolder/id33/big_file.avi
/data/4/another_big_file.avi
/data/56/something/big_file2.avi
I need to move these 3 files, into /data