I know how to find and concatinate pdf file. I did with the follwoing code.
pdfunite *.pdf output.pdf
But the problem is I have list of file names in one file say filenames.txt and I would like to search these files in the same folder and combine only these files. I tried to search on internet but could not find similar solution. I tried to use grep -wFf option to find
find | grep -wFf "fileames.txt\*.pdf" cat *.pdf
Does anybody have idea how can I do it? name file is as follows:
CSAI_isotig00407:342-556
CSAI_isotig00408:342-556
.
.
while the pdf files are with these name followed by 1,2,3.pdf
CSAI_isotig00407:342-556_1.pdf
CSAI_isotig00408:342-556_2.pdf