On Tue, 20 Oct 2020 10:25:11 -0700 Samuel Sieb <samuel@xxxxxxxx> wrote: > On 10/20/20 10:10 AM, Ranjan Maitra wrote: > > Thanks, very much! Btw, how do I list a directory recursively with the more nested directories listed first inside a directory? I feel that I may want to do this before I use my script to convert MH to Maildir. > > > > I tried: > > > > find . -type d > > > > > > ./inbox > > ./Sent > > ./Trash > > ./fedora > > ./fedora/FAS > > ./research > > ./research/user1 > > ./research/user2 > > ./reviewer > > ./reviewer/can1 > > ./reviewer/can2 > > > > and this does the right thing, almost, except that it lists the directories, and then the sub-directories of each. Is it possible to reverse this listing? If that were possible, I was considering running my script in order, then removing that directory and then going on down the list. > > Pipe the output of that to "tac". Wow! The reverse of cat, who would have guessed? Thanks! Ranjan > _______________________________________________ > users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx > To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx > Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx -- Important Notice: This mailbox is ignored: e-mails are set to be deleted on receipt. Please respond to the mailing list if appropriate. For those needing to send personal or professional e-mail, please use appropriate addresses. _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx