[clug] Shell glob for a range of numbers?

Damien Elmes clug at repose.cx
Thu Jan 8 06:42:50 GMT 2004


David Gibson <david at gibson.dropbear.id.au> writes:

> Or, to avoid the loop in an excessively silly way:
>
> eval cp argus.log.\{`seq -s, 5 21`\} /tmp

I'll raise you 5.

seq 5 21 | xargs cp --target-directory=/tmp

-- 
Damien Elmes


More information about the linux mailing list