Writing a script that copy files to sub folder
I need your help in writing a script. suppose i have a folder in a certain name and i want to copy all the files i have to sub-folder that starts with the first letter of the file. for instance, a file named alaska will be copied to folder A, the file named colorado will be cppied to folder C and so on. of course it will include files with lowercase and uppercase letters and a folder with one uppercase letter.
thanks.
|