Conversation:
Notices
-
Chimo (chimo)'s status on Sunday, 10-May-2015 11:53:59 EDT
Chimo
Ha. Just used `strings`, `egrep` and `wget` to download a PDF split in different files and `pdftotext` to convert to plain text for search. -
MMN-o ✅⃠ (mmn)'s status on Sunday, 10-May-2015 12:20:47 EDT
MMN-o ✅⃠
@chimo Post the command! -
MMN-o ✅⃠ (mmn)'s status on Sunday, 10-May-2015 12:24:08 EDT
MMN-o ✅⃠
@chimo I am amazed every time I realise how much can be done just by piping stuffto right placs with proper arguments. Joshua Judson Rosen likes this. -
MMN-o ✅⃠ (mmn)'s status on Sunday, 10-May-2015 12:24:50 EDT
MMN-o ✅⃠
@mmn @chimo Maybe I shoulf piep to a spell checker/correctlr before poting. -
Chimo (chimo)'s status on Sunday, 10-May-2015 12:30:55 EDT
Chimo
@mmn strings *\.pdf | egrep -o 'CV0202[A-Za-z0-9]+\.pdf' | sed s#^#http://techinfo.honda.com/rjanisis/pubs/OM/CV0202/# | xargs wget -nc -
Chimo (chimo)'s status on Sunday, 10-May-2015 12:31:14 EDT
Chimo
Oh there was a `sed` in there too :) -
Chimo (chimo)'s status on Sunday, 10-May-2015 12:31:50 EDT
Chimo
@mmn It's pretty damn useful, that's for sure! :D
-