Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./postFiles.sh: line 88: /home/sander/git/ngPost/bin/ngPost: No such file or directory #8

Closed
sanderjo opened this issue Dec 31, 2019 · 4 comments

Comments

@sanderjo
Copy link

With postFiles.sh, I got

./postFiles.sh: line 88: /home/sander/git/ngPost/bin/ngPost: No such file or directory

Caused by NG_POST="$SCRIPT_PATH/bin/ngPost" ... that bin directory does not exist.
I changed to NG_POST="$SCRIPT_PATH/src/ngPost" and everything is fine now.

@mbruel
Copy link
Owner

mbruel commented Dec 31, 2019

I've added your fix and published the new version I'm using that also does the rar obfuscation ;)
have a look!

@sanderjo
Copy link
Author

With the new version, something goes wrong with the tmp-filename:

sander@brixit:~/git/ngPost$ ./postFiles.sh -i /tmp/my20MB.bin 
using RAR obfuscation: 79879d5f42574f5179b4a8895e0b8935.rar
Nb files: 1, main one: /tmp/my20MB.bin, all files: /tmp/my20MB.bin

<snip>
RAR_NAME: 79879d5f42574f5179b4a8895e0b8935, PASS: pFfczw4w9or9t, NZBFILE: /my20MB, FROM: JpTAvzH7bFw@ngPost.com
Using default config file:  "/home/sander/.ngPost"
Error: Can't create nzb output file: //my20MB.nzb

... and now I'm off for NYE.

@mbruel
Copy link
Owner

mbruel commented Jan 3, 2020

the variable NZB_PATH wasn't defined.
by default I've set it to a nzb folder inside ngPost folder.
feel free to change that.
with the -o option, just give the filename, not the path
Happy new year! ;)

@mbruel
Copy link
Owner

mbruel commented Jan 3, 2020

ps: you don't need to add the -o option. if not present, the name of nzb will be automatically deduce from the first input.
Bare in mind you can put several -i so to include subtitles or sample for example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants