How can you
ls everything else the the files
I run unsuccessfully
This question came from our site for professional and enthusiast programmers.
If you use bash and have the
If you're using zsh with EXTENDED_GLOB option set:
where 'pattern' is what you want to match, except for anything matching 'negpattern'.
will list all the files in your cwd except those ending in '.mp3'.
If you're not using zsh, give it a try, this kind of intelligent expansion is everywhere.