Jump to content

Apostrophe in filename issue


Recommended Posts

I made a simple workflow a while back to rename tv show files using 'tvnamer'.

 

Most of the time files don't have the episode's name within their title and it's even more uncommon for there to be an apostrophe as well. So since Alfred doesn't offer escaping single quotes, I was wondering what I could do to fix this.

 

The workflow just has (one or more) files passed through to:

/usr/local/bin/tvnamer -q -c /Users/Daniel/.mytvnamerconfig.json {query}
Link to comment

For bash (likely what you’re using), your quoting options should look like this:

3BzCi1t.png

Particularly since you’re dealing with file names that you have no idea what they’ll be, these options will get you covered the most.

 

Thanks Vitor.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...