summaryrefslogtreecommitdiff
path: root/bin/fmt-metadata
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-01 19:55:21 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-01 19:55:21 -0400
commit838a73363333bd2eda5aaf08e41701760406987a (patch)
tree59e8dfea595959d93108249a79f828aadce7e0af /bin/fmt-metadata
parentbc0107813be28ab9532f136047d23bbaa158ee8b (diff)
Almost there
Now it just needs to figure out that it needs to synthesize directory listings for dat/pools/files/*/*.1 files.
Diffstat (limited to 'bin/fmt-metadata')
-rwxr-xr-xbin/fmt-metadata5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/fmt-metadata b/bin/fmt-metadata
index 7867d63..c92419b 100755
--- a/bin/fmt-metadata
+++ b/bin/fmt-metadata
@@ -19,5 +19,8 @@ $stdin.each_line do |line|
datetime = Time.parse("#{datetime} +00:00").utc.strftime('%Y-%m-%d %H:%M')
end
- puts ("%-22s %s %3s%s" % [ name, datetime, size_numb, size_unit ])
+ # discard the size, I guess. The number of digits precision was
+ # inconsistent over the years.
+ #puts ("%-22s %s %3s%s" % [ name, datetime, size_numb, size_unit ])
+ puts ("%-22s %s" % [ name, datetime ])
end