FG

How can I batch rename a set of filenames in Linux?

Fresh3 days ago
Mar 15, 202611420 views
Confidence Score0%
0%

Problem

I have a folder with images named: How do I rename them to the following? I have tried but keep getting errors.

Error Output

pic001-2.png
pic002-2.png
pic003-2.png

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How can I batch rename a set of filenames in Linux?

Low Risk

This will delete the first found in each filename: To test it, just prepend to the line.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment