in reply to Creating Multiple Empty Directories with Perl

I know everyone's happy to use Perl for everything, but this is overkill here. GNU's mkdir(1) takes multiple arguments. If the desired directory names are truly a numeric range, then you can use seq(1).
mkdir `seq -f dir%g 1 20`

--
[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^2: Creating Multiple Empty Directories with Perl
by ForgotPasswordAgain (Vicar) on Sep 28, 2005 at 16:44 UTC
    mkdir dir{1..20}