Index of /download/adaptive_river

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]123_Oberhausen.pdf2020-05-12 22:52 20K 
[   ]456_7_Kriegshaber.pdf2020-05-12 22:52 21K 
[   ]789_Pfersee_Süd.pdf2020-05-12 22:52 20K 
[TXT]README.html2020-05-12 23:03 372  
[   ]adaptive_river2020-05-12 22:52 791  
[   ]test.odt2020-05-12 22:52 10K 
[   ]test.pdf2020-05-12 22:52 23K 

Required

  • pdftk
  • pdfgrep

    Configuration within first lines of script

      pattern="Flurst"
    
      regin="Flurst.ck \(.*\) Gemarkung \(.*\)"
      regout="\1_\2.pdf"
    
      mod="s/[\/, ]/_/g"
    

    Usage and output

      ./adaptive_river test.pdf 
    
      1 -> 123_Oberhausen.pdf
      2 -> 456_7_Kriegshaber.pdf
      4 -> 789_Pfersee_Süd.pdf