Hi,
I am trying to search a directory for subdirectories, recreate the subdirectories elsewhere and copy only certain files from current subdirectory to new subdirectory.
In other words i am sorting filetypes into subdirectories with same name.
so far i have been able to create the subdirectories, but i am not able to copy the files into those directories.
Can anyone please tell my how to use the glob? bcoz i am unable to copy the files.
Thanks in advance