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

Re: Mal wieder find...



Hallo!

On ? Andreas Schmidt wrote:
> [...]
> 
> Ich wollte jetzt fuer jede gefundene Mailbox procmail aufrufen und die
>  
> Datei "mist" umbenennen:
> 
> find . -maxdepth 1 -type f -exec "cat {} | formail -s procmail; mv
> mist  {}.new" \;

Hierfür könnte (ohne das Problem genau zu kennen) evtl.

for f in $(find . -maxdepth 1 -type f)
do
    cat $f | formail -s procmail
    mv mist "$f.new"
done

eine Lösung sein.

Gruß,
Matthias



Reply to: