Re: OT: Maildir vs. mh folders?

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

 



On Tue, Oct 20, 2020 at 12:10:13PM -0500, Ranjan Maitra wrote:
> On Tue, 20 Oct 2020 13:28:37 +1030 Tim via users <users@xxxxxxxxxxxxxxxxxxxxxxx> 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.

"find" has a "-depth|-d" option.  Try:

  find . -d -type d

Jon
-- 
Jon H. LaBadie                  jonfu@xxxxxxxxxx
_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux