Am 26.12.2014 um 16:05 schrieb Hylton Conacher (ZR1HPC):
Hi,
OK, first up I know 11.2 is out of date. tell me something I don't know.
I have made a backup of my /home which happens to also include the Maildir folder containing email in a number(circa 300) of folders under the Inbox. I am in the process of making a creating a procmailrc file and would to use the name of the folders as they are stipulated in MailDir as opposed to having to browse to each folder to get its exact name syntax.
How can I obtain a text file containing an alphabetical listing of ALL the folders under Maildir?
My MUA is Tbird 13.0.1
I have searched the web but not found anything specific so assume there must be a cli command to query the Maildir folder and write a list of the included folders to a text file.
Help and pointers appreciated, even to the opensuse archive :)
Try: find $HOME/MailDir -type d -print | sort $HOME expands to your home folder. -type d matches only folders -print prints the absolute path. | sort pipes the result through "sort" to get an alphabetical list Regards, -- Aaron "Optimizer" Digulla a.k.a. Philmann Dark "It's not the universe that's limited, it's our imagination. Follow me and I'll show you something beyond the limits." http://blog.pdark.de/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org