How to list a directory "all except"

joe at actionline.com joe at actionline.com
Wed Aug 7 08:04:21 MST 2013


What syntax would one use to list all the contents
of a directory *except* those of a specified criteria?

For example, I know that: ls -ltr *htm
lists all contents ending in 'htm'

But how could I list all contents excluding those ending in 'htm'?





More information about the PLUG-discuss mailing list