[clug] Shell glob for a range of numbers?

Andrew Pollock me at andrew.net.au
Thu Jan 8 00:47:43 GMT 2004


On Thu, Jan 08, 2004 at 11:19:22AM +1100, Steven Hanley wrote:
> 
> Off the top of my head I dont know that way, however a quick hack alternate
> way would be 
> 
> (in bash)
> 
> for i in argus.log.`seq 5 21`.gz ; do cp $i /tmp ; done

Oooh, I like.

Thanks!

Andrew


More information about the linux mailing list