FG

How to rename files in batch with Unix rename command?

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

Problem

I have files whose names look like this: What I want to do is to replace all with in the names yielding But why does this unix command not work?

Error Output

Sim1-2_40.36.chr20_sb.foo.indel.novoalign.sam
Sim1-2_40.36.chr20_sb.foo.indel.bwa.sam

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to rename files in batch with Unix rename command?

Low Risk

Because you’re using the wrong rename program. This is the right one.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment