mhonarc-users

Re: Large archive conversion problem

2004-03-05 12:20:03
On Fre, 2004-03-05 at 16:32, Rangesh Kona wrote:
2. find /usr1/archives/ | xargs cat > /tmp/mbox

    mhonarc –add /tmp/mbox

   fails with Unable to create temp file   Too many open files error

Try using a loop, with bash it looks something like:

for i in $(ls . | grep .txt) ; do
        cat $i >> /tmp/mbox
done

-- Daniel