If I try to pass a filename that has a space in it, the script can't find the file No PNG or JPEG images found. This shouldn't happen if I'm putting my filename in quotes, but I'm still getting that error. Even using escape characters like filename\ with\ spaces.jpg doesn't work either.
This is what I've tried
tinypng "filename with spaces.jpg"
tinypng 'filename with spaces.jpg'
tinypng filename\ with\ spaces.jpg
Every time I get the same No PNG or JPEG images found., I was able to fix this by renaming the file to not have spaces. But, it would be nice if I didn't have to do that step.
Specs
Terminal: Git Bash for Windows (mintty 3.1.0 x86_64-pc-msys)
If I try to pass a filename that has a space in it, the script can't find the file
No PNG or JPEG images found.
This shouldn't happen if I'm putting my filename in quotes, but I'm still getting that error. Even using escape characters likefilename\ with\ spaces.jpg
doesn't work either.This is what I've tried
Every time I get the same
No PNG or JPEG images found.
, I was able to fix this by renaming the file to not have spaces. But, it would be nice if I didn't have to do that step.Specs
Terminal: Git Bash for Windows (mintty 3.1.0 x86_64-pc-msys)
OS: Windows 10
TinyPNG CLI version: v0.0.7