When I run a command with predefined variable, it does not expand that variable.
Suppose I have selected a text example.png in the editor, then run xargs -I {} echo '${fileDirname}'{}, the output is ${fileDirname}example.png instead of path/to/file/example.png
What can I do?
When I run a command with predefined variable, it does not expand that variable.
Suppose I have selected a text
example.pngin the editor, then runxargs -I {} echo '${fileDirname}'{}, the output is${fileDirname}example.pnginstead ofpath/to/file/example.pngWhat can I do?