# # do # 1. Make sure writable # 2. ls -lrt |grep jpg > gba # then # 3. EDIT gba to leave the latest files # 4. sort -n -k4 gba > gb # then # 5. edit gb to leave the largest file names # 6. sh CUT # Last run Mar 12 2008 12:00 for file in `cat gb` do rm a.bmp convert $file a.bmp if [ -f a.bmp ] then convert a.bmp $file chown nobody:nobody $file fi done