At the linux command line, I'd like to compress all .pdf files in a directory, any of it's subdirectories and so on - but only .pdf files. I'm struggling to figure out the syntax, any ideas appreciated.
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
PDF files are binary files and probably won't compress much. But if you want to try compressing PDF files, you could use
This will compress all PDF files (and only PDF files) in folders below the current directory. Each |
|||
|
|