Moderators: ScalixSupport, admin

Code: Select all
omshowu -m all |
while read name
do
AUTHID=`omshowu -n "$name"|awk '/^Authentication ID:/ {print $3}'`
sxmboxexp -u "$name" -a "$AUTHID.mboxexp"
donegren wrote:You could try a script something like :Code: Select all
omshowu -m all |
while read name
do
AUTHID=`omshowu -n "$name"|awk '/^Authentication ID:/ {print $3}'`
sxmboxexp -u "$name" -a "$AUTHID.mboxexp"
done
That would create a set of files in your current directories, one for each user with the filenames taken from the users authentication IDs.
This doesn't have any error handling and you might want to use the sxmboxexp -F option to allow archiving whilst people are logged on etc.
Regards,
Gren.
Users browsing this forum: No registered users and 3 guests