File: mkthumbnail.sh

package info (click to toggle)
luola 1.3.2-13
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 3,700 kB
  • sloc: ansic: 14,480; sh: 2,932; makefile: 128
file content (11 lines) | stat: -rwxr-xr-x 154 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

while [ $# -ne 0  ]
do
	thumb="`basename $1 | sed 's/\..*$//'`.thumb.png"
	echo "$1 -> $thumb"

	convert -resize x120 $1 $thumb

	shift
done