I want to pass all the files as a single argument on Linux but I am not able to do that.
This is working
ls | sort -n | xargs -i pdftk {} cat outpu
Use -I option:
-I
echo prefix | xargs -I % echo % post
Output:
prefix post