title: How can I pass all arguments with xargs in middle of command in linux
body: <p>I want to pass all the files as a single argument on Linux but I am not able to do that.</p>
  
  <p>This is working</p>
  
  <pre><code>ls | sort -n | xargs  -i pdftk  {} cat output combinewd2.pdf
  </code></pre>
  
  <p>This passes a single argument per command, but I want all in one command.</p>