about summary refs log tree commit diff stats
path: root/browse-slack
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-08-11 18:40:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-08-11 18:40:10 -0700
commitefcf321d158af7098cd1aa7bff73556f18e8a093 (patch)
treeea590f17c251dd498306c3aa5d7d00536dd64a56 /browse-slack
parent2c401eb6e8200bdcedcd001072bae59901e81c9d (diff)
downloadmu-efcf321d158af7098cd1aa7bff73556f18e8a093.tar.gz
hackily sort items by time
Diffstat (limited to 'browse-slack')
-rw-r--r--browse-slack/convert_slack.py4
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.
 #