SHARE
TWEET

convers all files exept the scipt.sh file to JPEG format

seberm Oct 17th, 2010 20 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #/bin/bash
  2.  
  3. x=0
  4.  
  5. for file in ./*
  6. do
  7.     if [ "${file}" == "./script.sh" ]
  8.     then
  9.       continue
  10.     fi
  11.  
  12.     convert $file $x.jpeg
  13.     let "x += 1"
  14. done
RAW Paste Data
Top