[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bash 1 liner help



I have a set of files:


05file.ogg
06file.0gg
07file.0gg
08file 1.ogg
09This file 2.ogg
10 This is a file 3.ogg
11 another file.ogg
12 file.ogg
13 file.ogg

I wish to play only the file 08-12*.ogg.
If I wanted to play files 07-09 I would
do something like

mplayer 0[7-9]*.ogg

How can I use regular expressions to play files
08-12?


Lance

-- 

                                Lance Hoffmeyer
                              lance@augustmail.com

-------------------------------------------------------------------------------
          The natural progress of things is for liberty to yield and
                          governments to gain ground.
                                       -
                                Thomas Jefferson



Reply to: