Using sed to mass rename files
First, I should say that the easiest way to do this is to use the prename or rename commands. On Ubuntu, OSX (Homebrew package rename, MacPorts package p5-file-rename), or other systems with perl rename (prename): rename s/0000/000/ F0000* or on systems with rename from util-linux-ng, such as RHEL: rename 0000 000 F0000* That’s a lot … Read more