[gentoo-user] copy resize files with directories

2012-12-20 Thread Joseph
I've found this script that copy and resize file on the fly from one location to another. for INPUT in ./*.JPG; do OUTPUT=/media/stick/`echo $INPUT | sed 's/\.JPG/\_new\.JPG/'`; echo $INPUT /media/stick/$OUTPUT; convert $INPUT -scale 800x $OUTPUT; done I go into each directory manually and

Re: [gentoo-user] copy resize files with directories

2012-12-20 Thread Joseph
On 12/20/12 22:07, Joseph wrote: I've found this script that copy and resize file on the fly from one location to another. for INPUT in ./*.JPG; do OUTPUT=/media/stick/`echo $INPUT | sed 's/\.JPG/\_new\.JPG/'`; echo $INPUT /media/stick/$OUTPUT; convert $INPUT -scale 800x $OUTPUT; done I go