Skip to content

Commit

Permalink
README.md: update the usage for options and example
Browse files Browse the repository at this point in the history
  • Loading branch information
hymkor committed Jan 14, 2023
1 parent d898f61 commit 135a718
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,27 @@ Convert from Twitter's downloaded archive to markdown files
./tweetzip2md *.zip > README.md
```

tweetzip2md creates markdown files whose name are like `./2019/12/30.md` and outputs index to STDOUT.
tweetzip2md creates markdown files whose name are like `2019/12/30.md` and outputs index to STDOUT.

```
$ tweetzip2md -h
Usage of tweetzip2md:
-b string
relative path from index to each markdown (default ".")
$ tweetzip2md.exe -h
Usage of tweetzip2md.exe:
-d string
root directory to output (default ".")
-show-reopen-date
show date on opening for append
-show-source-name
show source JSON in zip-file
```

If you want to make markdowns to put on GitHub, for example:
```
tweetzip2md -d ../tweets -b blob/master *.zip > ../tweets/README.md
```
Supported JSON Version
----------------------

The versions used on downloaded zip archive at these dates.

- Jan.13, 2023
- Jul.26, 2018
- Jul.12, 2018
- Jun.13, 2017
- Sep.19, 2017
- Dec.12, 2017

0 comments on commit 135a718

Please sign in to comment.