I’ve been moving many terabytes of data between servers this week, and have been using a lot of piped tar commands to help out. Now it’s often useful to have a progress indicator when dong any sort of lengthy operation, and a few minutes on Google led me to a fantastic little tool: pv (pipe viewer). It does exactly what it says on the tin; you just add it your pipeline (e.g. tar -C /src/ cf – * | pv | tar -C /dst/ xf -) and you have an instant progress indicator.
- 
		
Recent Posts
 - 
Recent Comments
 - 
Archives
- August 2021
 - April 2021
 - March 2021
 - July 2020
 - May 2020
 - March 2020
 - February 2020
 - January 2020
 - November 2019
 - June 2019
 - May 2019
 - April 2019
 - March 2019
 - July 2018
 - June 2017
 - October 2016
 - September 2016
 - August 2016
 - June 2016
 - April 2016
 - March 2016
 - February 2016
 - November 2015
 - October 2015
 - September 2015
 - August 2015
 - June 2015
 - April 2015
 - March 2015
 - January 2015
 - October 2014
 - September 2014
 - August 2014
 - July 2014
 - January 2014
 - September 2013
 - July 2013
 - May 2013
 - February 2013
 - January 2013
 - December 2012
 - November 2012
 - October 2012
 
 - 
Categories
 - 
Meta