nmh-workers
[Top] [All Lists]

Re: scan without changing folder?

2021-04-25 06:29:12
Hi Ken,

Since "scan +folder" will switch to that folder, this means that the
current folder might change whenever my cron job runs.

Is there a way around this?

      env MHCONTEXT=/dev/null scan +foo

(I just tested that and it seems to work for me)

Private sequences are stored in the context file so scan(1) won't find
them, e.g. ‘MHCONTEXT=/dev/null scan +foo bar’.

-- 
Cheers, Ralph.

<Prev in Thread] Current Thread [Next in Thread>