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