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}
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.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}