#!/bin/bash logfile="/var/log/recent" tmpdir="/var/tmp/." mv -f ${logfile} ${tmpdir} killall -HUP syslog-ng