Advertisement
opexxx

bash_oneliner.txt

Aug 12th, 2013
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. for i in `ls`; do echo $i; convert $i -resize 300x225 thumb_$i; done
  2.  
  3. gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sPAPERSIZE=a4 -sOutputFile=out.pdf scan0014.pdf scan0015.pdf scan0016.pdf
  4.  
  5. $ sudo mount -o loop disk.iso ./mount_iso
  6. $ cp ./mount_iso/file.jpg /tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement