Change the behaviour of the -f option
Split and merge PDF files on any platform
Brought to you by:
torakiki
I think that the it would be better if the -f
option could accept a list of files ("-f pippo.pdf pluto.pdf" instead of "-f pippo.pdf -f pluto.pdf")
Then the order of concatenation can be chosen by another option which can accept several parameters, for example
"-o l" concatenates the files in the same order in which they were passed to the command line;
"-o a" concatenates the files in the alfabetical order
"-o d" concatenates the files in the creation date order
Thanks for your wonderful work!
Regards.
This would require a modification to the jcmdline library (the one that makes console argument parsing) and it would be a quite heavy modification. Given the time I have to work on pdfsam (almost no time :) ) I think I'll focus on new features but perhaps in the future, if I find time, I'll add this.