This is not quite a PHP question I guess...
I have a number of directories created by a PHP script
mainDir/dirA
mainDir/dirB
mainDir/dirC
I need to move these subdir to another dir
mainDir/a/dirA
mainDir/a/dirB
mainDir/a/dirC
Granted the directories and files withing those have permissions that prohibit me movin them using FTP client. I have root access and can probably use something like putty but when I try
cp dirA/ a/
I get the following message:
cp: omitting directory `dirA/'
Also I have literally hundreds subdirectories that need to be pushed in subdirectories according to alphabet letter dir. Lost. Any help woudl be highly appreciated.