[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Large archive conversion problem



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


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]