On Sat, Aug 3, 2019 at 9:49 AM ToddAndMargo via users users@lists.fedoraproject.org wrote:
Is there a way to do a "cp -r" and have it exclude certain directories?
The bash shell has myriads of ways to generate glob expressions that can filter only those directories that you want. And including only those means excluding all the others. 'bash glob' on the net will give you some idea.
Hope that helps.