[Bash question] Recursive copying of certain file types in nested folders using wildcards
How can I combine recursive copying and usage of wildcards to extract a certain file type from nested folders?
Data structure of the source folder is similiar to this:
home | |_____FolderA | |____one.txt |____Folder B | |____two.txt
The destination folder should look like this:
dest_folder | |_____one.txt |_____two.txt
Any advice is appreciated.
Submitted July 12, 2017 at 09:36AM by Ginkgopsida
via reddit http://ift.tt/2sQ5yk0