Page 41 of 41

Re: [SNIPPET] Sort into A-Z folders

Posted: 19 Mar 2023, 11:12
by rednoah
e.g.

Code: Select all

{
	if (az in 'A'..'L')
		return '/path/to/A-L'
	if (az in 'M'..'Z')
		return '/path/to/M-Z'
	return '/path/to/#'
}
/
{plex}

Re: [SNIPPET] Sort into A-Z folders

Posted: 20 Mar 2023, 02:58
by alittler
rednoah wrote: 19 Mar 2023, 11:12 e.g.

Code: Select all

{
	if (az in 'A'..'L')
		return '/path/to/A-L'
	if (az in 'M'..'Z')
		return '/path/to/M-Z'
	return '/path/to/#'
}
/
{plex}
Thank you kindly. Either I misread the Terminal or something (or it was very, very late) but the command I had just tried didn't quite work, and this is a much simpler version of it.

Re: POSTBUCKET - where random posts in unrelated topics go

Posted: 20 Mar 2023, 03:08
by rednoah
No worries. You had the right ideas. Just need some help with Groovy syntax for Ranges. I've added an example for this use case to the docs page.

Re: [FAQ] How do I evaluate FileBot?

Posted: 23 Aug 2023, 05:57
by craze1994
Liked how easy it is to use filebot is something I would like to use to rename my media collection.