How to upload all additional files at once along with committing jupyter notebook

is there any way to write jovian.commit(files=[]) so that it uploads all the files without mentioning the name of all files?

I think you can code this up yourself with os.listdir(). You need to take care of excluding some files though (notebook file probably, some venv files if present, checkpoints).

Your idea might not work as expected though. There’s an additional argument named outputs which does basically the same thing.
Never used this, so no idea if the files considered an output will be treated differently by jovian platform or not. You might want to make a files and outputs directory, and use them along with listdir to get the value for argument automatically.

1 Like