in Unix, how to wildcard match files whose name is a number greater than x -
i have bunch of files named this:
0468.xml 0474.xml 0475.xml 0481.xml
i want match whatever files there in directory name (without .xml extension) number greater than, allow say, 0474. in other words, want match lastly 2 files.
one option:
ls | awk -f. '$1>474'
unix numbers wildcard
No comments:
Post a Comment