Here is my directory structure:
/home/folders/test (some directories) and files test.xml test1.xml test.js images (directory) /home/folders/test/images/( some directories ) and files
I have to copy the XML files and the images folder but exclude all other files.
In images, I only have to copy sub directories (with images inside) but exclude other files. How can I achieve this?