Re: Combining Groups
Clemens Fischer <[email protected]>
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
Chris <[email protected]> writes: > I was classifying some mail and instead of using spam/nonspam, I > accidentally used nospam. How do I combine the nospam and the nonspam > groups? There's no reason for me to have three groups. you can delete a message at the same time as inserting/updating it to another: ifile -d <wrong-folder> -i <right-folder> <message-file> in order to protect yourself against this, use: ifile -u <right-folder> <message-file> which throws an error if used on a non-existing folder. ALARM!!! i just tried this, but there's something wrong: i used: ifile -u scharboiz Readme.ngrep ifile does /not/ return any error. next test: ifile -v3 -u scharboiz Readme.ngrep --update ARGP_KEY_ARG ARGP_KEY_END ARGP_KEY_SUCCESS 1 file(s) passed file #0: Readme.ngrep home directory = /root Reading messages... Reading message... Finishing reading message. Time used: 0.008 sec Read 1 messages. Time used: 0.008 sec Reading /root/.idata from disk... Read 2 categories, 10367 words. Time used: 0.125 sec Trimmed 11 words due to lack of frequency Writing /root/.idata to disk... Wrote 2 folders, 10356 words. Time used: 0.078 sec jason, in my understanding the -u option should just throw an error when the folder mentioned doesn't exist, but instead it goes through the entire process, only leaving out the creation of a new folder! i think this is a serious bug. i cannot even correct whatever damage this iperation incurs: ifile -d scharboiz Readme.ngrep Folder "scharboiz" does not appear to exist (btw, the file Readme.ngrep was just the first file in the particular directory i was in, it has nothing to do with this.) please, jason, make -u complain if the indicated folder doesn't exist! clemens