How to use find to select the files from the range?
There are files:
You need to choose files from a range of 2 to 4 how to do it?
Such operations are possible using Find, or have programming in bash to use?
Thanks in advance.
asked June 10th 19 at 16:33
If you will then do some operation, then the easiest way would be to write a bash script
brush up on a file mask (wild cards)
In bash this will be a command such as:
cp [2-4].txt anotherdir/
ls [2-4].txt | xargs echo
Find more questions by tags Ubuntu