The rename utility can’t be used recursively, only for file names in the current directory.
Instead, we can combineĀ rename andĀ find like this:
find . -name '*.jpeg' -exec rename 's/\.jpeg$/\.jpg/' {} \;
The rename utility can’t be used recursively, only for file names in the current directory.
Instead, we can combineĀ rename andĀ find like this:
find . -name '*.jpeg' -exec rename 's/\.jpeg$/\.jpg/' {} \;
WordPress.com is the best place for your personal blog or business site.