diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-08-11 18:40:10 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-08-11 18:40:10 -0700 |
commit | efcf321d158af7098cd1aa7bff73556f18e8a093 (patch) | |
tree | ea590f17c251dd498306c3aa5d7d00536dd64a56 | |
parent | 2c401eb6e8200bdcedcd001072bae59901e81c9d (diff) | |
download | mu-efcf321d158af7098cd1aa7bff73556f18e8a093.tar.gz |
hackily sort items by time
-rw-r--r-- | browse-slack/convert_slack.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/browse-slack/convert_slack.py b/browse-slack/convert_slack.py index 9e4bcb00..5dcdc91d 100644 --- a/browse-slack/convert_slack.py +++ b/browse-slack/convert_slack.py @@ -19,7 +19,9 @@ # Step 3: construct a disk image out of the archives and avatars # cd ../.. # go back to parent of images/ # dd if=/dev/zero of=data.img count=201600 # 100MB -# python path/to/convert_slack.py |dd of=data.img conv=notrunc +# python path/to/convert_slack.py > data.out +# (optionally sort items by timestamp; I currently do this in Vim by piping the latter half of data.out through `sort`) +# dd if=data.out of=data.img conv=notrunc # Currently this process yields errors for ~300 items (~70 posts and their comments) # on the Future of Software group (https://futureofcoding.org/community). We fail to load those. # |