On Linux, how do I selectively copy most – but not all – files from a directory (
dir1) to another directory (
I do not want to copy
*.txt files to
cp man page online cannot help me.
migrated from stackoverflow.com Jan 10 '12 at 16:08
This question came from our site for professional and enthusiast programmers.
In addition to eboix's
For more patterns, just add more