Batch renaming using `rename`

It is an interesting tool and simple to use. It happens to me that I have a bunch of subtitles under the name pattern of xxxx.SxxEyy.1080p.srt and I wish to rename it to xxxx.SxxEyy.720p.srt in order to load automatically for my smplayer.

Bash script is overkill for Linux user, there is a programme called “rename” that can help you to do that.

rename .1080p. .720p. *.srt

This line will do the trick.

Basically .1080p. means *.1080p.* and .720p. means something similar, *.srt are the files we want to rename and we want to keep the extension there.

This should be a linux-only feature.

Leave a comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.