Sorry, I had a few questions:

On Thursday, October 29, 2020, 12:21:52 AM CDT, Cameron Simpson 
<c...@cskk.id.au> wrote: 

>  Might I suggest you put this shell command in a distinct shell script so 
>that your muttrc has this:


    mailboxes `mutt-mailboxes`

What are mutt-mailboxes? Is it a keyword?Or is this a shell-script?

> You can also improve the find:

    find "$HOME/Maildir"/* -type d \( \( -name tmp -o -name new -o -name cur \) 
-prune \) -o -exec ismaildir {} ';' -print

>so where does this go?


> 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.

> "ismaildir" is a script of my own:

>    https://hg.sr.ht/~cameron-simpson/css/browse/bin/ismaildir?rev=tip

> but it is very simple - it just checks for directoriness and the presence if 
> the 3 required subdirectories.


Thanks for the ismaildir link!

Best regards!

Reply via email to