search for: local_file_list

Displaying 4 results from an estimated 4 matches for "local_file_list".

2005 Mar 02
0
[Bug 2408] New: when more than --max-delete files are about to be deleted no error is returned
...) { + if (!(flist->files[j]->flags & FLAG_TOP_DIR) + || !S_ISDIR(flist->files[j]->mode)) + continue; + + argv[0] = f_name_to(flist->files[j], fbuf); + + if (!(local_file_list = send_file_list(-1, 1, argv))) + continue; + + for (i = local_file_list->count-1; i >= 0; i--) { + if (!local_file_list->files[i]->basename) + continue; +...
2004 Oct 05
0
new option implemented: --delete-mdays
...verbose; extern int recurse; extern int delete_after; extern int max_delete; - extern int delete_mdays; extern int csum_length; extern struct stats stats; extern int dry_run; extern int read_batch; extern int batch_gen_fd; --- 22,31 ---- *************** *** 119,147 **** for (i = local_file_list->count-1; i >= 0; i--) { if (max_delete && deletion_count > max_delete) break; if (!local_file_list->files[i]->basename) continue; - if (flist_find(flist,local_file_list->files[i]) < 0) { char *f = f_name(local_file_list->files[i]);...
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'
...000000 +0900 +++ rsync-backuponly/receiver.c 2003-09-05 15:06:37.000000000 +0900 @@ -39,6 +39,7 @@ extern char *backup_dir; extern char *backup_suffix; extern int backup_suffix_len; +extern int backup_only; static struct delete_list { DEV64_T dev; @@ -159,13 +160,14 @@ char *f = f_name(local_file_list->files[i]); if (make_backups && (backup_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;...