Square brackets are glob characters in file names (they're a regex list
indicator).  Maybe try disabling file globbing? That disables all of the
file expansion characters.  "set -f" to turn off, "set +f" to turn back on.

Mike

On Sat, Jul 10, 2021 at 10:17 AM Dave <[email protected]> wrote:

> rdimport will successfully import these files using the form rdimport
> [options] [GROUP] *.flac
>
> I can only think that the brackets are being interpreted by the script
> in some way and sending bad information to rdimport.
>
> On 7/9/2021 9:46 PM, Robert Jeffares wrote:
> > Hi Dave,
> >
> > have you tried rdimport  [options] [GROUP] *.flac ?
> >
> > or is it falling down in the      --metadata-pattern='%a - %t.flac'
> >
> > Are you using CentOS or something else?
> >
> > Do the flac files have metadata?
> >
> > From memory [] brackets are not usually a problem
> >
> > regards
> >
> > Robert
> >
> > On 10/07/21 7:03 am, Dave wrote:
> >> Hi all,
> >> I'm about to use rdimport to import a couple of music libraries into
> >> Rivendell via a shell script. In testing it works great except for
> >> the fact rdimport does not like file names containing an open bracket
> >> ([). For example, if I enter the file name using a double quote as
> >> "'N Sync - This I Promise You [Radio Edit].flac" it will fail. If I
> >> use singles quotes and escape the single quote in the file name it
> >> also fails. '\''N Sync - This I Promise You [Radio Edit].flac'. I've
> >> tried escaping the bracket to no avail. The only way I can import
> >> these files via rdimport is to rename the file without the brackets.
> >> I can import files with brackets manually via the rdlibrary GUIwith
> >> no problem. Any suggestions?
> >>
> >> Thanks,
> >> Dave
> >> _______________________________________________
> >> Rivendell-dev mailing list
> >> [email protected]
> >> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
> >
> _______________________________________________
> Rivendell-dev mailing list
> [email protected]
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to