Commit 5b7438b1 authored by glondu's avatar glondu

Script trs volu pour dplacer les botes pleines.

darcs-hash:20060523083439-68412-424fcec07ff937a25e3de249b062a221a98f0122.gz
parent 9b5fca9a
#!/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