I'm still learning the command line, and I'm having trouble piping a list of files into graphicsmagick for conversion to pdf:
find . -type f | sort | gm convert file.pdf
This gives the error:
gm convert: Request did not return an image.
Can I do this without resorting to more complicated methods?