Re^3: Renaming all files in a directory
Feb 02, 2021 at 16:57 UTC
in reply to
Re^2: Renaming all files in a directory
Renaming all files in a directory
In this example, perl is reading line by line, (
perl -nle ...
) and you want the counter to only be initialized (once) at the start of the script.