On 29Oct2020 16:21, Cameron Simpson <c...@cskk.id.au> wrote:
>Also, being a shell script makes it easier to clean up the paths too:
>
>    #!/bin/sh
>    cd "$HOME/Maildir"
>    find * -type d \( \( -name tmp -o -name new -o -name cur \) -prune \) -o 
> -exec ismaildir {} ';' -print
>
>No stripping, just cd to the top directory and print relative paths.

Just to followup to myself, you probably them only need to pipe that 
through:

    sed 's/^/=/'

to put the required prefix on the front.

Cheers,
Cameron Simpson <c...@cskk.id.au>

Reply via email to