rsync progress tracking

I want to know the progress of a rsync of a huge file. how is it possible. I am using subprocess call to rsync . I want to redirecting to a file the output and want to probing the file to get the progress using another process.
rsync_args =[]
rsync_args.append('/usr/bin/rsync')
rsync_args.append('--verbose')
rsync_args.append('--progress')
rsync_args.append('--timeout=50')
rsync_args.append('--size-only')
rsync_args.append('--log-file= rsync.log')
des_path = 'hst1@x.x.x.x'+':'+ '/home/sasi/lool.txt'
src_path = '/home/myuser/.bash_history'
rsync_args.append(src_path)
rsync_args.append(des_path)
sp.call(rsync_args)
1 person has
this question
+1
Reply