Oct 08

AtomicParsley batch processing a whole dir

Category: Linux,multimedia   — Published by goeszen on October 8, 2016 at 4:35 pm

As you might know (or have found out): AtomicParsley doesn't do batch processing. It does not suppoort it via some switch, nor does it allow to be fed with multiple files via shell's file globbing like "./*".

Here's how to do it. We combine a simple shell scripting one liner introduced in the post "call a script on each file from a file glob" with AtomicParsley.

$ for f in *.m4a; do /opt/AtomicParsley-debian-0.9.0/AtomicParsley "$f" --artist "(insert artist here)" --album "(insert album title here)" --overWrite; done

What we do here: We call atomicparsley, residing in /opt here, to add artist and album name to a whole directory full of m4a files (aac audio in an mpeg-4 container). We used the undocumented --overWrite switch to have atomicparsley replace the input files.

Leave a Reply

=