in reply to How to do a recursive rename ?
for ( glob "*.abc" ) { ($new = $_) =~ s/\.abc$/.edf/; rename $_, $new or warn "can't rename '$old' to '$new'"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Re: How to do a recursive rename ?
by Adam (Vicar) on Sep 12, 2000 at 04:09 UTC |