Displaying 2 results from an estimated 2 matches for "subcount_last".
2015 Mar 09
0
Outlook 2013/2010 nightmare #2
...=
cd /u/home
for THIS_USER in *
do
MORE_THAN_1=`ls -d ${THIS_USER}/mail/mail* | wc -l`
if [ "${MORE_THAN_1}" -gt "1" ]
then
# echo "${THIS_USER} has more than one"
ls ${THIS_USER}/mail/mail >${THIS_USER}/subcount
if [ ! -f ${THIS_USER}/subcount_last ]
then
>${THIS_USER}/subcount_last
fi
ISDIFF=`diff ${THIS_USER}/subcount ${THIS_USER}/subcount_last |
wc -l | awk '{print $1}'`
if [ "${ISDIFF}" -gt "0" ]
then
# echo "Is Different"
ls ${TH...
2015 Mar 10
2
Outlook 2013/2010 nightmare #2
...HAN_1=`ls -d ${THIS_USER}/mail/mail* | wc -l`
>> if [ "${MORE_THAN_1}" -gt "1" ]
>> then
>> # echo "${THIS_USER} has more than one"
>> ls ${THIS_USER}/mail/mail >${THIS_USER}/subcount
>> if [ ! -f ${THIS_USER}/subcount_last ]
>> then
>> >${THIS_USER}/subcount_last
>> fi
>> ISDIFF=`diff ${THIS_USER}/subcount ${THIS_USER}/subcount_last |
>> wc -l | awk '{print $1}'`
>> if [ "${ISDIFF}" -gt "0" ]
>> then...