Joachim Reiter schrieb:
> Im sich öffnenden Tool (Frontend für Ham) habe ich die mbx-Datei und das
> Ziel der NG eingetragen - nu muss ich aber noch Filter setzen ala "-go",
> "-ih", "-na", "-t", "-x" - allerdings sind alle Schalter nirgends
> dokumentiert :(
>
> Da es ja eine grafische Erleichterung zu "Ham.exe" darstellen soll denke
> ich, dass o.g. "Schalter" auch in der Commandzeilen-Verwendung von
> "Ham.exe" vorkommen.
| $ ham help import
|
| ham import [-go"groupnames"] [-ih] [-na] [-t] [-x] file-selections...
| Imports articles into Hamster's database.
| Supported file-formats:
| 1. one article per file
| 2. mbox-files (Every article begins with "From: ... Day xx.xx ...")
| 3. rnews-batches ("#! rnews SIZE" only)
| Options:
| -go: Group Override, i.e. don't import the articles to the groups noted
| in the "Newsgroups:"-header, but in the given group.
| -ih: Ignore History, i.e. import articles even if already known
| -na: No Archive, i.e. mark imported articles with "NoArchive=1" in
| "X-Hamster-Info:"-header.
| -t: Test-only, i.e. articles are NOT imported but shown.
| -x: eXperimental: convert textfiles into dummy-message
| Example: ham import -t \var\spool\news\SCNR\*.*
| => tests the import of all files in the given path.
| Example: ham import -ih -na -go"hamster.temp" archive.mbx
| => imports the mbox-file "archive.mbx" into the local
| group "hamster.temp", even if Message-IDs already known
| and with "NoArchive=1"-Info in "X-Hamster-Info"-Header.
| Example: ham import -x -go"hamster.doc.rfc" \rfc\*.txt
| => converts the txt-files in "\rfc" to dummy-messages and
| imports them into the local group "hamster.doc.rfc".
-thh