Mover un directorio de trabajo y comprimirlo (on-the-fly),mostrando su progreso.

tar -cf - . | pv -s $(du -sb . | awk '{print $1}') | gzip > out.tgz

2 thoughts on “Mover un directorio de trabajo y comprimirlo (on-the-fly),mostrando su progreso.

  1. kuidao 20/12/2009 / 09:01

    Interesante, gracias, man. No conocía el programa pv, le da vidilla a algunos scripts guarretes que me hube fabricado😀

    Like

    • nadie 20/12/2009 / 17:06

      a mi no me va

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s