wildcards to list a group of files in sequential numerical order ?

suvayu ali fatkasuvayu+linux at gmail.com
Mon Nov 7 21:51:15 UTC 2011


On Mon, Nov 7, 2011 at 22:09, Robert Nichols <rnicholsNOSPAM at comcast.net> wrote:
> You might try doing that with a shell sequence operator instead of globbing:
>
>    ls DSC_{6035..6072}.NEF
>
>

To add to that for completeness, this is known as brace expansion. For
a detailed discussion, see man bash under "Brace Expansion".

HTH

-- 
Suvayu

Open source is the future. It sets us free.


More information about the users mailing list