News for hackers. Stuff that matters.
Re:Pipe Viewer – A Unix Utility You Should Know About by thanatos519 on Wednesday November 20, 2024 @03:44PM (#42197920)
Yes! My `,pv` is approximately: (probably a better way to make the k, but I stop once something is adequate; maybe I just need to make a `,,kof`)

    tar cpS "$@" --sort=name | pv -bratpes $(du -cks "$@"|sed -n '/.total$/ s/.total$//p')k
Which gives me progress bars for big copies like:

    ,pv files/ | tar xp -C /destination

    ,pv files/ | ssh overthere tar xp -C /destination

There are no comments on this comment yet.