JoshMachine
Thursday, January 10, 2013
Unix command to list files not matching a pattern?
To list all the files in the directory except .c and .h files
ls -l | grep -v '\.[c|h]$'
http://stackoverflow.com/questions/8525437/list-files-not-matching-a-pattern
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment