In Linux Mint, I have a directory that has many files and I want to copy files that contain x
in their filename and paste them into other destination.
How can I do it using a terminal?
Advertisement
Answer
Go to the directory that contains all of your files, then try this one. this commnad can help you.
find . -name '*x*' -exec cp "{}" YourDestination ;
replace YourDestination
wtih every where you want.