How to detect all music on a harddrive, then copy it to a folder in PHP?
I have 3 folder named music1, music2, music3 I want to get all the music from those folders and move it to a one folder named Music. Is this possible in php?
How to detect all music on a harddrive, then copy it to a folder
Share
It doesn’t look for music files only and will not overwrite existing files, but keep them in the original directory.
Quite frankly, there are easier ways to do that, like this one using bash: Unix shell file copy flattening folder structure