79659852

Date: 2025-06-10 05:51:25
Score: 0.5
Natty:
Report link

Thanks to all the help in the comments, specially @Shawn, I figured out it was that the string had literal single quotes, so it wasn't a path per-se. I found another answer to remove the quotes using eval. So now I add eval image_file=$image_file right after inputting the file and we are all set! It also works with paths that don't have spaces, so ready to run!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-2): I figured out
  • Has code block (-0.5):
  • User mentioned (1): @Shawn
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: ecotechie