Listing of Mozilla 1.4 folders under Local Folders
Hi, I have accumulated folders in my Mozilla 1.4 store of POP mail by creating a folder or sub-sub-folder for each new contact I have made via email. Given that this is circa 3 years old and is for my employment, it is a fairly large collection of folders and sub-folders of the agencies and companies whom I have contacted for work. The number of folders is substantial with 4-6 under each letter of the alphabet. As there are so many I would like to find out if there is a CLI way to query which Mozilla file in /home/hylton/.mozilla/ to generate a file of all the folder names in my Local Folders. Is this possible? Would Thunderbird support it? Ideas anyone? Perhaps an RFE and which url location should I report it to? -- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
On Mon, 2005-01-17 at 03:57, Hylton Conacher (ZR1HPC) wrote:
Hi,
I have accumulated folders in my Mozilla 1.4 store of POP mail by creating a folder or sub-sub-folder for each new contact I have made via email. Given that this is circa 3 years old and is for my employment, it is a fairly large collection of folders and sub-folders of the agencies and companies whom I have contacted for work. The number of folders is substantial with 4-6 under each letter of the alphabet.
As there are so many I would like to find out if there is a CLI way to query which Mozilla file in /home/hylton/.mozilla/ to generate a file of all the folder names in my Local Folders.
find ./.mozilla/(path to mail folder) -type d > list will find and list all of the folders and dump them to the file list
Is this possible? Would Thunderbird support it?
Ideas anyone? Perhaps an RFE and which url location should I report it to?
-- The Little Helper ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 Licenced Windows user ========================================================================
-- Ken Schneider UNIX since 1989 SuSE since 1998 * Only reply to the list please*
Ken Schneider wrote:
On Mon, 2005-01-17 at 03:57, Hylton Conacher (ZR1HPC) wrote:
Hi,
I have accumulated folders in my Mozilla 1.4 store of POP mail by creating a folder or sub-sub-folder for each new contact I have made via email. Given that this is circa 3 years old and is for my employment, it is a fairly large collection of folders and sub-folders of the agencies and companies whom I have contacted for work. The number of folders is substantial with 4-6 under each letter of the alphabet.
As there are so many I would like to find out if there is a CLI way to query which Mozilla file in /home/hylton/.mozilla/ to generate a file of all the folder names in my Local Folders.
find ./.mozilla/(path to mail folder) -type d > list will find and list all of the folders and dump them to the file list Sounds good. On application: hylton@linux:~> find ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' -type d > Mozilla_Folder_list -maxdepth 30 hylton@linux:~>
Partial pasted Result: ./.mozilla/default/a8qsb5wf.slt/Mail/Local Folders/A-F.sbd/Employment.sbd/Companies.sbd/M.sbd ./.mozilla/default/a8qsb5wf.slt/Mail/Local Folders/A-F.sbd/Employment.sbd/Companies.sbd/N.sbd Looks good so far but how do I get the folder names under A-Z? -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
The Monday 2005-01-17 at 10:57 +0200, Hylton Conacher (ZR1HPC) wrote:
As there are so many I would like to find out if there is a CLI way to query which Mozilla file in /home/hylton/.mozilla/ to generate a file of all the folder names in my Local Folders.
Sorry, I don't understand your question. Could you rephrase it, please? Query which file ... what? What do you want to query? There is something missing. Perhaps what file contains a certain address, a search? Then use grepmail. It will generate a new folder containing matching strings or headers. But so can do mozilla... Thus I think you are asking something diferent. -- Cheers, Carlos Robinson
Carlos E. R. wrote:
The Monday 2005-01-17 at 10:57 +0200, Hylton Conacher (ZR1HPC) wrote:
As there are so many I would like to find out if there is a CLI way to query which Mozilla file in /home/hylton/.mozilla/ to generate a file of all the folder names in my Local Folders.
Sorry, I don't understand your question. Could you rephrase it, please? No problem.
I would like to have a file listing all the folders I have created under my Mozilla 'Local Folders'. Ken has already partially solved the problem, but I do need the find command to proceed to a greater depth as -maxdepth 30 didn't do it ie until there are no more sub-folders it can list under 'Local Folders'. In other words if I had created the sub folders of A_M and N_Z under Local Folders, I would like a command that lists the folders under Local Folders. In my example case only A_M and N_Z would be listed as they are the two sub folders of Local Folders. I trust that helps Carlos? -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
The Thursday 2005-01-20 at 19:32 +0200, Hylton Conacher (ZR1HPC) wrote:
Sorry, I don't understand your question. Could you rephrase it, please? No problem.
I would like to have a file listing all the folders I have created under my Mozilla 'Local Folders'.
Ken has already partially solved the problem, but I do need the find command to proceed to a greater depth as -maxdepth 30 didn't do it ie until there are no more sub-folders it can list under 'Local Folders'. In other words if I had created the sub folders of A_M and N_Z under Local Folders, I would like a command that lists the folders under Local Folders. In my example case only A_M and N_Z would be listed as they are the two sub folders of Local Folders.
I trust that helps Carlos?
Mmmm. Try: tree -d ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' It has more options; try: tree -d -H ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' > file.html and then "links file.html" -- Cheers, Carlos Robinson
Carlos E. R. wrote:
The Thursday 2005-01-20 at 19:32 +0200, Hylton Conacher (ZR1HPC) wrote:
Sorry, I don't understand your question. Could you rephrase it, please?
No problem.
I would like to have a file listing all the folders I have created under my Mozilla 'Local Folders'.
Ken has already partially solved the problem, but I do need the find command to proceed to a greater depth as -maxdepth 30 didn't do it ie until there are no more sub-folders it can list under 'Local Folders'. In other words if I had created the sub folders of A_M and N_Z under Local Folders, I would like a command that lists the folders under Local Folders. In my example case only A_M and N_Z would be listed as they are the two sub folders of Local Folders.
I trust that helps Carlos?
Mmmm. Try:
tree -d ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders'
It has more options; try:
tree -d -H ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' > file.html
and then "links file.html" Umm, perhaps this is a question for our Shanahan man, but where did you find the options -d and -H?
I did a man tree, info tree and looked in the SuSE X help for tree and nowhere did I find those options. Where can I can a decent man page on tree. Looking at the man tree option it seems you gave a me a cmd to delete the tree and then ask for help :) but I dunno. Ken any more input from you? -- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
* Hylton Conacher (ZR1HPC)
Umm, perhaps this is a question for our Shanahan man, but where did you find the options -d and -H?
remember, *you* pulled my chain....
I did a man tree, info tree and looked in the SuSE X help for tree and nowhere did I find those options. Where can I can a decent man page on tree. Looking at the man tree option it seems you gave a me a cmd to delete the tree and then ask for help :) but I dunno.
You either didn't do 'man tree' or you failed to read the resultant output. 'info tree' and 'pinfo tree' provide the same documentation and explain the same parameters. If you do not have the man/info packages installed on your distro, guess you need to google. please now, release me. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
Patrick Shanahan wrote:
* Hylton Conacher (ZR1HPC)
[01-22-05 14:18]: Umm, perhaps this is a question for our Shanahan man, but where did you find the options -d and -H?
remember, *you* pulled my chain.... Aye, I did. Not just to wake you but also to respectfully ask your man advice as from what I've seen, if there is a man page, Patrick knows about it.
I did a man tree, info tree and looked in the SuSE X help for tree and nowhere did I find those options. Where can I can a decent man page on tree. Looking at the man tree option it seems you gave a me a cmd to delete the tree and then ask for help :) but I dunno.
You either didn't do 'man tree' or you failed to read the resultant output. 'info tree' and 'pinfo tree' provide the same documentation and explain the same parameters. DOH! It helps if I had tree installed. When I did 'man tree' I did get a man page relating to 'treesomething' just not 'tree'.
Something I've definitely learnt now, if you don't see a man page you can understand check if the package is installed.
If you do not have the man/info packages installed on your distro, guess you need to google. Not required. All that IS required is to read the new 'man tree' page.
please now, release me. You are granted release to play in the Linux fields, but do keep an eye open as I'll more than likely need your comments again. :)
-- ======================================================================== Hylton Conacher - Linux user # 229959 at http://counter.li.org Currently using SuSE 9.0 Professional with KDE 3.1 ========================================================================
* Hylton Conacher (ZR1HPC)
You are granted release to play in the Linux fields, but do keep an eye open as I'll more than likely need your comments again. :)
Glad to help. gud luk, -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/photos
The Saturday 2005-01-22 at 13:52 +0200, Hylton Conacher (ZR1HPC) wrote:
It has more options; try:
tree -d -H ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' ./.mozilla/default/a8qsb5wf.slt/Mail/'Local Folders' > file.html
and then "links file.html"
Umm, perhaps this is a question for our Shanahan man, but where did you find the options -d and -H?
X-)
I did a man tree, info tree and looked in the SuSE X help for tree and nowhere did I find those options. Where can I can a decent man page on tree. Looking at the man tree option it seems you gave a me a cmd to delete the tree and then ask for help :) but I dunno.
Mmm. If I do "man tree" I get the "TCL blt::tree" man page, not what I want. Info tree gets the same. So, I did not look at "man tree". Also, my usual "man -a tree" doesn't help, no more pages (try man -a man to see the difference). And "apropos tree" does not inform of any other page to look at. So, the conclusion is, no, no manual page. (It can be confirmed by looking at the contents of the udev-021-36.rpm in SuSE 9.1. There is no man page for tree). So, what did I do? tree --help -d List directories only. -H baseHREF Prints out HTML format with baseHREF as top directory. -- Cheers, Carlos Robinson
participants (4)
-
Carlos E. R.
-
Hylton Conacher (ZR1HPC)
-
Ken Schneider
-
Patrick Shanahan