diff options
author | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
---|---|---|
committer | Zhiming Wang <zmwangx@gmail.com> | 2015-05-04 15:03:55 -0700 |
commit | ee374553f2ba385157eec9a816cf9b023fbfb18a (patch) | |
tree | 2972641f3de868f727f4210f97d461b4f4e1a2b5 /source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md | |
parent | 301679861a2440a10c9eac746cec86459f445ef9 (diff) | |
download | my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.tar.xz my_new_personal_website-ee374553f2ba385157eec9a816cf9b023fbfb18a.zip |
process post metadata
Diffstat (limited to 'source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md')
-rw-r--r-- | source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md b/source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md index 2f58e884..5bee4641 100644 --- a/source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md +++ b/source/blog/2015-02-10-monitor-progress-of-your-unix-pipes-with-pv.md @@ -1,9 +1,7 @@ --- -layout: post title: "Monitor progress of your Unix pipes with pv" date: 2015-02-10 02:18:30 -0800 -comments: true -categories: +date-display: February 10, 2015 --- Recently I found a very useful utility called `pv` (for "pipe viewer"). [Here](http://www.ivarch.com/programs/pv.shtml) is its home page, and it can be easily installed with `brew`. According to its man page, @@ -19,7 +17,7 @@ Why is it useful? Well, pretty obvious if you are in the right audience. For me, For the record, here's the current version of my ruby script that attaches the first seven digits of the SHA-1 digests of the given files to their filenames: -```ruby 7sha1 +```ruby #!/usr/bin/env ruby require 'fileutils' |