If user chosen to tolower then it should convert file name to lower or vice versa. when file names converted it should put into appropriate subdirectories.
e.g when files converted it then seperate them out with file etension where it will seperate them out . such as file.pdf, phone.doc both moved to different subdirectory where file.pdf >>>>> is moved to pdf directory which holds FILE.pdf (convertedted uppercase) &&&&&&& phone.doc. whill be moved to doc directory whill hold PHONE.doc etc.
this means main directory will only have normal files and the extension subdirectories will only have converted filenames(all lowercased or upper)
if no ubdirectory exist it should create and put into it. if file doesnt have any extension then it should not moved.
also my second question is :
if i move to subdirectory how can rename the the extension of file name e.g
when files are in pdf folder how can i rename the extension it. e.g
when FILE.pdf is all ready exist in pdf directory when another identical file (duplicate) is moved it should be FILE.pdf1. if there are another one it should be FILE.pdf2 so on .so it should add num,ber to end. using ${string##substring} strips
{{{ by modifying top one}}}}