I have a folder in the following public structure;
and I simply want to rename it to;
So simply just change the main directory and the mp3 filename, simple enough or so I thought. I've tried loads of different combination and still can't seem to get both to rename.
Here is the simplest form of my code;
I have even tried to rename the directory with mv via exec but still nothing, this is really frustrating.
$cmd = 'mv ./assets/songs/test ./assets/songs/test1';
exec($cmd, $output, $return_val);