Displaying 2 results from an estimated 2 matches for "deletion_count++".
Did you mean:
deletion_count
2003 Jul 29
1
"-b --suffix '' --delete --backup-dir /path/" combination does not act as expected
Skipped content of type multipart/mixed-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/rsync/attachments/20030728/49616c2f/attachment.bin
2003 Sep 05
1
new option suggestion '--backup-only'
...up_dir || !is_backup_file(f))) {
(void) make_backup(f);
- if (verbose)
+ if (verbose && !backup_only)
rprintf(FINFO, "deleting %s\n", f);
} else {
int mode = local_file_list->files[i]->mode;
delete_one(f, S_ISDIR(mode) != 0);
}
- deletion_count++;
+ if (!backup_only)
+ deletion_count++;
}
}
flist_free(local_file_list);
@@ -535,15 +537,17 @@
}
}
- if (preserve_hard_links)
- do_hard_links();
-
- /* now we need to fix any directory permissions that were
- modified during the transfer */
- for (i = 0; i < flist...