Looking for Shell Script to find '.txt', '.csv' files from many recursive folders/subfolders, copy the files and recreate the same folders path to copy those files in new path.
Example: we got around 20k files and saved in many parent folders and subfolders.
u01/temp/proj/sales/john/.csv, .xls files
u01/temp/proj/sales/mike/.txt, .csv, .xls files
u01/temp/proj/sales/geebee/sale/.csv, .xls files
need shell script to copy only '.txt', '.csv' files(exclude xls , other files) and recreate same folder path then copy above files as below
u01/perm/proj/sales/mike/.txt, .csv files