Say I want to copy the contents of a directory excluding files and folders whose names contain the word ‘Music’.

cp [exclude-matches] *Music* /target_directory

What should go in place of [exclude-matches] to accomplish this?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *