I have a folder contains many .ass files for subtitles of a TV show but the file name is just too long:
House.of.Cards.S01E01.WEBRip.720p.H.264.AAC.2.0-HoC.SOME-OTHER-THINGS.ass House.of.Cards.S01E02.WEBRip.720p.H.264.AAC.2.0-HoC.SOME-OTHER-THINGS.ass House.of.Cards.S01E03.WEBRip.720p.H.264.AAC.2.0-HoC.SOME-OTHER-THINGS.ass
now I just want to change them into shorter form:
House.of.Cards.S01E01.ass
House.of.Cards.S01E02.ass
House.of.Cards.S01E03.ass
is there any simple way to do it? (may be via shell script)
Thanks in advance