Last active
          June 4, 2017 09:49 
        
      - 
      
- 
        Save ThomasLeister/fb521c11c34a7e8ceca280a0f7e73d3c to your computer and use it in GitHub Desktop. 
    PDF Passwortschutz entfernen
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | ### Execute in directory with .pdf files in it. | |
| dnf install qpdf | |
| mkdir out | |
| find . -maxdepth 1 -type f -iname '*.pdf' -printf '%f\0' | xargs -0 -I '{}' qpdf --password="MYPASSWORD" --decrypt '{}' out/'{}' | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment