summaryrefslogtreecommitdiffstats
path: root/rust/README.export.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-09-11 22:09:58 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-09-11 22:14:36 -0700
commitf7f18bb588023e869c347ddfd23bf1ed5d16e527 (patch)
tree98f39ef82561ffa74dfe64740391e595995df89c /rust/README.export.md
parent538cd2ec602a044dc36ca81d9a2a07863080c764 (diff)
downloadfatcat-f7f18bb588023e869c347ddfd23bf1ed5d16e527.tar.gz
fatcat-f7f18bb588023e869c347ddfd23bf1ed5d16e527.zip
improvements to fatcat-export output
Diffstat (limited to 'rust/README.export.md')
-rw-r--r--rust/README.export.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/rust/README.export.md b/rust/README.export.md
new file mode 100644
index 00000000..7301a4db
--- /dev/null
+++ b/rust/README.export.md
@@ -0,0 +1,13 @@
+
+First create ident files:
+
+ psql fatcat < ../extra/quick_dump.sql
+
+Then dump:
+
+ cat /tmp/fatcat_ident_releases.tsv | ./target/debug/fatcat-export releases
+
+Or, perhaps, in production:
+
+ cat /tmp/fatcat_ident_releases.tsv | ./target/release/fatcat-export release --expand files,contaner -j8 | pv | gzip > all_releases.json.gz
+