Closed snoitallicso closed 1 year ago
I need to use _ symbol between date and time like:
maim Pictures/Screenshots/Maim_Screenshot_$(date +"%Y-%m-%d_%H:%M:%S").png
Maim actually has the bare minimum of parsing to read args, it uses cxxopts to parse. What shell are you using?
I'd recommend trying maim "Pictures/Screenshots/Maim_Screenshot_$(date +"%Y-%m-%d_%H:%M:%S").png"
to make sure your shell isn't changing the arg.
Closing as not related to maim.
~
date +"%Y-%m-%d %H:%M:%S"
2022-11-02 06:23:49
~
maim Pictures/$(date +"%Y-%m-%d %H:%M:%S").png
2022-11-02
file