<div dir="ltr"><div class="gmail_default" style="font-size:small">Turns out I was being over cautious. I didn't need to escape the apostrophe at all. abcde took care of it for me. My default editor is emacs and when abcde opened it to allow me to edit/enter the disc info emacs didn't like the apostrophe (color highlighting was weird). I escaped it and it made emacs happy but caused problems for abcde as it removed the apostrophe but left the slash. If I would've done nothing I would've been fine.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 21, 2021 at 8:32 AM Ron <<a href="mailto:ronljohnsonjr@gmail.com">ronljohnsonjr@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    Double-quote ARTISTFILE and ALBUMFILE?<br>
    <br>
    <div>On 9/20/21 5:18 PM, Bodnar, Jason
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_default" style="font-size:small">When ripping
          CDs sometimes the track title (or maybe the album title) has a
          character in it that causes problems down the road. For
          example, in "Tryin' to Get the Feeling", the apostrophe causes
          abcde to fail when moving the track to its final destination.<br>
          <br>
          [ERROR] abcde: The following commands failed to run:<br>
          movetrack-03: returned code 1: mv
          /tmp/abcde.5a070108/track03.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/03-tryin\_to_get_the_feeling.flac<br>
          replaygain-flac: returned code 1: nice -n 10 metaflac
          --add-replay-gain
/media/readynas/Music/j/joe_pernice/could_it_be_magic/01-ready_to_take_a_chance_again.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/02-even_now.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/03-tryin\_to_get_the_feeling.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/04-ships.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/05-weekend_in_new_england.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/06-mandy.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/07-looks_like_we_made_it.flac
/media/readynas/Music/j/joe_pernice/could_it_be_magic/08-could_it_be_magic.flac<br>
          Finished. Not cleaning /tmp/abcde.5a070108.<br>
          <br>
          When entering the track info I escaped the apostrophe:<br>
          <br>
          TTITLE2=Tryin\' to Get the Feeling<br>
        </div>
        <div><br>
          <div class="gmail_default" style="font-size:small">Is there
            some other way to escape it? Or is the problem with my
            OUTPUTFORMAT command:<br>
            <br>
            OUTPUTFORMAT='$(echo ${ARTISTFILE,,} | head -c
            1)/${ARTISTFILE,,}/${ALBUMFILE,,}/${TRACKNUM}-${TRACKFILE,,}'</div>
          <br>
        </div>
        -- <br>
        <div dir="ltr">
          <div dir="ltr">
            <div>Jason Bodnar<br>
              <a href="mailto:jason@shakabuku.org" target="_blank">jason@shakabuku.org</a><br>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Abcde-users mailing list
<a href="mailto:Abcde-users@lists.einval.com" target="_blank">Abcde-users@lists.einval.com</a>
<a href="https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users" target="_blank">https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users</a>
</pre>
    </blockquote>
    <br>
    <div>-- <br>
      Angular momentum makes the world go 'round.</div>
  </div>

_______________________________________________<br>
Abcde-users mailing list<br>
<a href="mailto:Abcde-users@lists.einval.com" target="_blank">Abcde-users@lists.einval.com</a><br>
<a href="https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users" rel="noreferrer" target="_blank">https://lists.einval.com/cgi-bin/mailman/listinfo/abcde-users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Jason Bodnar<br><a href="mailto:jason@shakabuku.org" target="_blank">jason@shakabuku.org</a><br><br></div></div></div>