"for file in `ls *.pdf`; do convert -verbose -colorspace RGB -resize 800 -interlace none -density 300 -quality 80 $file `echo $file | sed Convert PDF to JPG(relies on 'imagemagick')This command will convert all .pdf files in a directory into a 800px (wide or height, whichever is smaller) image (with the aspect ratio kept) .jpg.This is a VERY worthwhile command! People pay hundreds of dollars for this in the Windows world."Only idiots pay hundreds of dollars (or any dollars) for this in the Windows world. It's called Infranview.I would have posted this on the site but it requires registration.
2of8Feb 16, 2009
"for file in `ls *.pdf`; do convert -verbose -colorspace RGB -resize 800 -interlace none -density 300 -quality 80 $file `echo $file | sed Convert PDF to JPG(relies on 'imagemagick')This command will convert all .pdf files in a directory into a 800px (wide or height, whichever is smaller) image (with the aspect ratio kept) .jpg.This is a VERY worthwhile command! People pay hundreds of dollars for this in the Windows world."Only idiots pay hundreds of dollars (or any dollars) for this in the Windows world. It's called Infranview.I would have posted this on the site but it requires registration.
yurimxpxmanFeb 16, 2009
the title says "The best UNIX commands on the web"
nextekcarlFeb 16, 2009
No, not really at at least (check the Russian roulette line as an example).
tuxisawesomeFeb 16, 2009
Python FTW!
redrummyFeb 16, 2009
what does that python do?
yurimxpxmanFeb 16, 2009
Fr33th0t, you're hilarious. Try a Windows command in a UNIX-like environment.. epic fail.