#!/bin/sh # WARNING: This file was auto-generated. Do not edit! cd /var/qmail cd queue for dir in mess info local remote do ( cd $dir; find . -type f -print ) | ( cd $dir while read path do id=`basename "$path"` sub=`expr "$id" % 23` mv "$path" "$sub"/"$id" done ) done