This blog was created to store some useful things, at least for me ...
This script merge files with spaces in the name and sorts them by name.
Enter in a directory with PDFs and execute:
ls -v *.pdf | bash -c 'IFS=$'"'"'\n'"'"' read -d "" -ra x;pdfunite "${x[@]}" output.pdf'
No comments:
Post a Comment