How to copy all pdf files to a folder -Linux

Copy PDFs to a folder

find . -name "*.pdf" -type f -exec cp {} ./pdfsfolder \;

the folder pdfsfolder should be available

Leave a Reply

Your email address will not be published. Required fields are marked *