kopia lustrzana https://github.com/dhylands/rshell
Merge pull request #127 from hiveeyes/improve-reporting
Improve reporting for the "rsync" primitivepull/130/head
commit
749b51ae6c
|
@ -940,6 +940,7 @@ def rsync(src_dir, dst_dir, mirror, dry_run, print_func, recursed, sync_hidden):
|
|||
"'{}' is a directory. Ignoring"
|
||||
print_err(msg.format(src_filename, dst_filename))
|
||||
else:
|
||||
print_func('Checking {}'.format(dst_filename))
|
||||
if stat_mtime(src_stat) > stat_mtime(dst_stat):
|
||||
msg = "{} is newer than {} - copying"
|
||||
print_func(msg.format(src_filename, dst_filename))
|
||||
|
|
Ładowanie…
Reference in New Issue