Skip to main content
identify the rename command
Source Link

Bash + Perl rename 64

BASH + Utils 64(rename is the Perl script on Debian and derivatives, not the util-linux command.)

find . -depth -name "* *" -execdir rename 'y/ /_/' * \;

Edited for folder-depth, didn't read properly

BASH + Utils 64

find . -depth -name "* *" -execdir rename 'y/ /_/' * \;

Edited for folder-depth, didn't read properly

Bash + Perl rename 64

(rename is the Perl script on Debian and derivatives, not the util-linux command.)

find . -depth -name "* *" -execdir rename 'y/ /_/' * \;
added 3 characters in body
Source Link
german_guy
  • 569
  • 5
  • 23

BASH + Utils 6064

find . -depth -name "* *" -execdir rename 'y/ /_/' * \;

Edited for folder-depth, didn't read properly

BASH + Utils 60

find . -depth -name "* *" -execdir rename 'y/ /_/' *

Edited for folder-depth, didn't read properly

BASH + Utils 64

find . -depth -name "* *" -execdir rename 'y/ /_/' * \;

Edited for folder-depth, didn't read properly

Source Link
german_guy
  • 569
  • 5
  • 23

BASH + Utils 60

find . -depth -name "* *" -execdir rename 'y/ /_/' *

Edited for folder-depth, didn't read properly