ahmedre said:

ahmedre

in bash, seq(1) is useful in loops: for i in `seq -f"%03g" 1 114`; do ls $i*; done [source: tldp.org]

1 year, 4 months ago.

1 comment so far

  • ahmedre

    even easier - use the -w flag. for example, seq -w 1 114.

    1 year ago by ahmedre

Sign in to add a comment