I was doing a little organizing of my home directory and needed a quick way to move all of my .pdf files into my Documents/PDF folder. It’s where I keep all PDFs for easy organization. Receipts, financial documents, e-books, etc. Here’s a quick way to find ALL of a file type (recursively of course) and move (or copy if you prefer) to another directory.


$ find /home/username/ -iname “*.pdf*” -exec mv {} /home/cklosowski/Documents/pdfs/ ;

Again you could also cp instead of mv if you prefer (would end up with duplicates however) by changing it to read:


$ find /home/username/ -iname “*.pdf*” -exec cp {} /home/cklosowski/Documents/pdfs/ ;

Posted by Chris Klosowski

Chris Klosowski is the Director of Technology at Sandhills Development, LLC, creators of fine WordPress plugins, and ecommerce solutions.

17 Comments

  1. I read this paragraph completely on the topic of the difference of most recent and earlier technologies, it’s
    awesome article.

    Reply

  2. natural viagra foods online viagra prescription – viagra canada prescription

    Reply

  3. viagra and blood pressure generic viagras twzdhfl – does the government pay for viagra

    Reply

  4. buy azithromycin zithromax generic zithromax – zithromax generic price

    Reply

  5. buy doxycycline 100mg doxycycline 500mg – doxycycline generic

    Reply

  6. cost of ivermectin 1% cream stromectol tablets – generic ivermectin cream

    Reply

  7. buy stromectol canada ivermectin for sale humans – stromectol without prescription

    Reply

  8. over the counter ed treatment ambien without a doctor’s prescription – prescription drugs online without

    Reply

  9. lexapro buy lexapro – lexapro generic discount

    Reply

  10. generic lipitor 10mg atorvastatin – order lipitor online

    Reply

  11. I’m extremely inspired together with your writing talents and also with the
    layout in your blog. Is that this a paid theme or did you modify it your self?
    Either way stay up the excellent high quality writing, it
    is rare to peer a nice weblog like this one these days..

    Reply

  12. lipitor price buy lipitor – lipitor 20mg canada price

    Reply

  13. Attractive portion of content. I just stumbled upon your web
    site and in accession capital to say that I get actually loved account
    your blog posts. Anyway I’ll be subscribing for your augment and
    even I achievement you access constantly rapidly.

    Reply

  14. When I originally commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get three emails with the same comment.
    Is there any way you can remove me from that
    service? Thank you!

    Reply

  15. comfortis for dogs without vet prescription buy cheap prescription drugs online – ed products

    Reply

  16. I have read so many posts concerning the blogger lovers however this post is
    genuinely a good post, keep it up.

    Reply

Leave a reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.