Move all files from sub directories into main directory

Posted by Belgin Fish on Stack Overflow See other posts from Stack Overflow or by Belgin Fish
Published on 2010-06-18T14:47:39Z Indexed on 2010/06/18 15:03 UTC
Read the original article Hit count: 188

Filed under:
|

Hi, I have a main directory like :

/import/

and in /import/ i have lots of sub directories, containing audio files.

I would like to create a php script to move all the audio files from the sub directories into the main directory.

Thanks guys :)

© Stack Overflow or respective owner

Related posts about php

Related posts about directory