I need to find files from a list in txt (i already have the txt with all the files, are separated with lines), the files contain spaces and the extension of the files are pdf, if you can suggest how to make an output of the command or script to another txt file.
What I try (this one retrieve all the files in the directory and contain spaces, but only the existing ones, i need to find the non existing too):
find . -type f -name *.pdf
Thank's in advance for any help.