Page 1 of 1

Plain File Mode (Name.10.01.05.Wedding.Day.Jackie.Loue.Movie.MKV-BLUTOPIA)

Posted: 07 Aug 2023, 17:28
by mouzzampk2014
Hi, I have files in this format

Code: Select all

Name.10.01.05.Wedding.Day.Jackie.Loue.Movie.MKV-BLUTOPIA

Is it possible to format these filenames like this

Code: Select all

Name - 10-01-05 - Wedding Day - Jackie Louie
This
Name.10.01.05.
and this part always same
.Movie.MKV-BLUTOPIA
Thanks

Re: Plain File Mode

Posted: 07 Aug 2023, 19:09
by rednoah
e.g.

Format: Select all

{
	def n = fn.before(/\d{2}\.\d{2}\.\d{2}/).space(' ')
	def t = fn.after(/\d{2}\.\d{2}\.\d{2}/).before(/\.Movie/).space(' ')
	def d = fn.match(/\d{2}\.\d{2}\.\d{2}/).space('-')
	"$n - $d - $t"
}

Code: Select all

Name - 10-01-05 - Wedding Day Jackie Loue
:arrow: Organize files based on information present in the file path

Re: Plain File Mode (Name.10.01.05.Wedding.Day.Jackie.Loue.Movie.MKV-BLUTOPIA)

Posted: 07 Aug 2023, 21:49
by mouzzampk2014
Thank you and it worked brilliantly.