If I have 10 files called 01-a.txt, 02-a.txt, ... 10-a.txt - how can I find files where the number is greater than 5? I would like a general solution, and I would put the contents of all the files into a single file using something like
cat *.txt > bigfile.txt
I can get files with numbers using
ls *[0-9]*
but cannot seem above it.
thank.
source
share