parallel_sync icon indicating copy to clipboard operation
parallel_sync copied to clipboard

Output from process

Open rkhadro opened this issue 7 years ago • 3 comments

Hi,

I'm trying parallel_sync. The copy looks good but i have no output to see progress. How can i pass rsync options like --progress --update

Here my launch file: from parallel_sync import rsync

rsync.copy('/mnt/Backup_BDD/mongodb/', '/data/mongodb/', exclude=['*.pyc'], parallelism=10, extract=False, validate=False)

Thanks

rkhadro avatar Jun 11 '18 10:06 rkhadro

Hi. Currently this method uses pure python, not rsync so you cannot add rsync arguments. Would it be good enough to print the file path as it is being copied?

kouroshparsa avatar Jun 20 '18 16:06 kouroshparsa

Yes, I vote for print the file path (aka rsync -i option). Nice to see something if monitoring from a console... else it works great for scripting "as is"

fireheadman avatar Jun 29 '18 21:06 fireheadman

Hi,

Yes, it would be nice.

rkhadro avatar Jul 04 '18 07:07 rkhadro