pastebin - collaborative debugging tool
book.kpaste.net RSS

Difference between
modified post 5a04d84 by Anonymous on Fri 22nd Dec 2017 03:45
original post dcd02 by Anonymous on Fri 22nd Dec 2017 03:16
Download diff
Show old version | new version | both versions

    
1-
ls  *.jp2 | awk '1==1 {printf("echo %s ; j2k_to_image -i %s -o %s.bmp; convert -resize 50\% -quality 50 %s.bmp %s.jpg; rm %s.bmp\n",$0,$0,$0,$0,$0,$0); }' | sh
1+
#!/bin/bash
2+
#//ls *.jp2 | xjobs -j 4 ./thisfile.sh
3+
echo $1
4+
echo j2k_to_image -i $1 -o $1.bmp
5+
echo convert -resize 50\% -quality 50 $1.bmp $1.jpg
6+
echo rm $1.bmp
8+
#235 pgs -j 4 1:12
9+
#235 pgs -j 1 3:07 aka none

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at