Skip to content

Commit 2e5e983

Browse files
Updated readme for -dir flag
1 parent 233a27c commit 2e5e983

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ When executed, the program reads the specified file and creates a multipart/form
1010

1111
Upon a successful upload, the program outputs the URL to the uploaded file to the console and also **writes it to the clipboard**.
1212

13+
### Uploading multiple files
14+
15+
When using `-dir` mode, the program will loop through all files in the directory provided and upload each one. Upon completing all uploads, the program will output a table with the files uploaded and the URL generated. This output will also be saved to a file in the source directory naned `upload.xxxxx.log`.
16+
17+
The same functionality is available if more than one arg is provided (e.g. `npu file1.jpg file2.jpg`) but the log file will be stored in the executable's root directory.
18+
1319
## To do
1420

15-
- [ ] Add support for multiple files
16-
- [ ] Add support for directories
21+
- [x] Add support for multiple files
22+
- [x] Add support for directories
1723
- [ ] Add support for archiving files (with encryption)
1824
- [ ] Add configuration file
1925

0 commit comments

Comments
 (0)