Ansichten: QuotePaste - CodePaste - NoPaste
Codesnippet eingetragen am 1.2.2012 um 17:29
Von: Michael
Sprache: Bash
Beschreibung: A little script to chop of the 9Gag footers :P With a fancy bash input counter :)
CodeSnippet:
  1. #!/bin/bash
  2. counter=1
  3. for infile in $@; do
  4. mogrify $infile +repage -gravity SouthWest -chop x30 +repage $infile
  5. echo "Processing file "$counter"/"$#
  6. let "counter += 1"
  7. done
  8.