#!/bin/sh set -e if [ -z "$DAYS" ]; then DAYS=120 fi; find $1/cur -type f -ctime +$DAYS -print0|xargs -0 mv -t $2/cur/