I want to execute a formatted shell command on a file from within Dired. I am aware that I can use dired-do-shell-command to run a shell command on a selected file file by entering
! <command> to run
<command> file Ideally I want to run
! <command> file <additional-arguments> In other words I want to be able to specify where in the command file appears. I tried running
! <command> {} <additional-arguments> and reading the doc for dired-do-shell-command, but neither of those gave me the solution to achieve this.