Plan 9 from Bell Labs’s /usr/web/sources/contrib/pac/rc/bin/thumbs-pnm

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#!/bin/rc
# make thumbnails from *.p?m
# Fri Jan 7 07:29:16 MET 2005 Peter A. Cejchan <cej@gli.cas.cz | pac7@post.cz | pac@plan9.cz>

rfork e
mkdir ../thumbs
for (name in *.p?m) {
pnmscale 0.1 $name > ../thumbs/$name
}

#-eof-

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.