Comment 15 for bug 1482841

Revision history for this message
Ignacy (ignacy-sawa) wrote :

PARTIAL SOLUTION:

Progress can be monitored using `pv` function. It's especially useful when backing up large files.
First grab the process id, and then put it as parameter to pv.

Example:
`ps -ef | grep duplicity`
We read the PID (first number after the username).
pv -d PID

Or a one-liner*:
*assuming we are copying a file named "disk". The second grep narrows the search results.

pv -d $(ps -ef | grep duplicity | grep disk | tr -s ' ' | cut -d ' ' -f 2)