Search Results

Search: Posts Made By: ropers
1,175
Posted By Scott
In a regular expression ? matches 0 or 1 of the...
In a regular expression ? matches 0 or 1 of the preceding expression. If you want to match (almost) any character, try using . (period) instead.


rename 's/m.mp3/mp3/' *mp3
1,175
Posted By MadeInGermany
A safe match is rename 's/\.m.mp3$/.mp3/' *mp3
A safe match is
rename 's/\.m.mp3$/.mp3/' *mp3
Showing results 1 to 2 of 2

 

Featured Tech Videos

All times are GMT -4. The time now is 01:07 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy