ls - Linux list files recursively ignoring a pattern -


i have same problem this post.

only instead of finding .txt files, want list of files not .txt files.

something like

$ ls -lr | grep -v .java 

which not want.

use find suggested in post , negate -name condition ! have other way round:

find . -type f ! -name "*.txt" #      ^^^^^^^ ^^^^^^^^^^^^^^^ #   files        | #              file names not ending .txt 

Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -