mbruel / ngPost

Command Line (or minimalist GUI) usenet poster for binaries developped in C++/QT designed to be as fast as possible and offer all the main features to post data easily and safely. Releases for Linux, Windows and MacOS are available.
GNU General Public License v3.0
179 stars 34 forks source link

Inconsistency between readme and program #174

Closed methanoid closed 1 year ago

methanoid commented 1 year ago

the readme.md says "--auto_compress" but v4.16 says "Error syntax: Unknown option 'auto_compress' " so one is wrong???

PS: If I have a folder (/post) of subfolders and want to post each subfolder as a separate NZB what command please? ngpost --auto "/mnt/post" --compress --gen_name --gen_pass --gen_par2 -g alt.binaries.test 2>&1  | tee ngPost.$(date +"%Y.%m.%d-%H.%M.%S").log ???

mbruel commented 1 year ago

yes sorry it is quite outdated... --auto is a keyword used for directories (parse directory and post every file/folder separately. You must use --compress, should add --gen_par2, --gen_name and --gen_pass) --auto_compress is deprecated: obsolete keyword AUTO_COMPRESS, you should use PACK instead, please refer to the conf example

so you could do ngpost --pack --auto /mnt/post having in the conf PACK = COMPRESS, GEN_NAME, GEN_PASS, GEN_PAR2 it will do the same thing thanngpost --compress --gen_name --gen_pass --gen_par2 --auto /mnt/post`

I'll try to update the help and the README when I'll do the next release ;)