CLI Reference
Usage
Options
Positional Arguments | Description |
---|---|
path |
Directory containing your files (default: CWD) |
Options: | Description |
---|---|
-h, --help |
Show a help message and exit |
--config CONFIG |
Specify the path to your juicenet config file |
--version |
Show juicenet's version number and exit |
--public |
Use your public config |
--nyuu |
Only run Nyuu in <path> (default: cwd ) |
--parpar |
Only run ParPar in <path> (default: cwd ) |
--raw |
Only repost raw articles |
--skip-raw |
Skip reposting raw articles |
--glob [*/ ...] |
Specify the glob pattern(s) to be matched instead of extensions |
--bdmv |
Find and upload BDMV discs in cwd, can be used with --glob |
--debug |
Show logs for debugging |
--move |
Move files into their own directories (foobar.ext -> foobar/foobar.ext) and exit |
--exts [mkv mp4 ...] |
Look for these extensions in <path> |
--no-resume |
ignore resume data |
--clear-resume |
delete resume data |
Info
If you don't feel like using --config
every single time, you can use the environment variable JUICENET_CONFIG
to hold the path of your config file. If set, this will always be used unless overridden by explicitly passing --config
.
Examples
Info
juicenet
will automatically preserve structure for all folder uploads and discard them for singular files.
-
Uploading the files in current working directory with config passed via the environment variable
Yep, that's it. That'll do the rest for you.JUICENET_CONFIG
-
Upload a single file
-
Upload files from an arbitrary directory with an explicit config
-
Specify arbitrary extensions at runtime, ignoring the extensions defined in config
-
Upload all subfolders in
<path>
Info
Linux shells automatically expand the glob pattern before passing it to the command, quote the glob pattern to stop the expansion since we want
juicenet
to read those glob patterns. -
Upload all subfolders with the word "BDMV" anywhere in their name and all the subfolders that start with the word "UHD"
-
Find and upload BDMV discs in current working directory automatically
Note
This may not be perfect, it simply finds BDMVs by looking for
BDMV/index.bdmv
--glob
to further filter what you want to upload. For example, if you only want to find BDMV discs in folders that have the word "BDMV" and "UHD" in them, you would run the following command -
Only Upload E10 to E15 from a folder with all the episodes