Commit ef72c4ba authored by chove's avatar chove

import initial

darcs-hash:20060523134232-4ec08-62f57a92798194b568a303a50317111958208796.gz
parent 1f65dc36
#!/bin/sh
# excuter en tant que l'utilisateur dont on veut dplacer les mails
MAIL=/var/mail/$USER
BACKUP=/home/$USER/Mail/.Backup
set -e
test ! -a $BACKUP
cp -a $MAIL $BACKUP
rm -f $MAIL/{cur,tmp,new}/* || true
find $BACKUP -type f | xargs chmod 600
find $BACKUP -type d | xargs chmod 700
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment