Displaying 10 results from an estimated 10 matches for "flist_find".
2005 May 24
1
rsync incorrectly deletes files ?
rsync -e 'ssh -x' --log-format="%o /%n %b" -tLr --delete --files-from=files-to-sync --exclude-from=files-to-exclude user@host:/ /temp/
del. /etc/mail/spamfilter/mx1/whitelist.conf 0
del. /etc/mail/spamfilter/mx1/blacklist.conf 0
recv /etc/mail/spamfilter/mx1/ 0
recv /etc/mail/spamfilter/mx1/blacklist.conf 211
recv /etc/mail/spamfilter/mx1/whitelist.conf 924
Why does rsync
2005 Mar 02
0
[Bug 2408] New: when more than --max-delete files are about to be deleted no error is returned
..., argv)))
+ continue;
+
+ for (i = local_file_list->count-1; i >= 0; i--) {
+ if (!local_file_list->files[i]->basename)
+ continue;
+ if (flist_find(flist,local_file_list->files[i]) < 0)
+ deletion_test_count++;
+ }
+ flist_free(local_file_list);
+ }
+
+ /* check deletion count */
+ if ((deletion_count+deletion_test_...
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
2004 Oct 05
0
new option implemented: --delete-mdays
..._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]);
-
- time_t now_time = time(NULL);
- time_t mday_time = now_time-delete_mdays*24*60*60;
- time_t file_modtime = local_file_list->files[i]->modtime;
-
- if (delete_mdays!=-1...
2003 Jul 24
0
(no subject)
...name,
int recursive, unsigned base_flags);
struct file_list *send_file_list(int f, int argc, char *argv[]);
+ void send_batch_file_list( int f, struct file_list *flist );
struct file_list *recv_file_list(int f);
int file_compare(struct file_struct **f1, struct file_struct **f2);
int flist_find(struct file_list *flist, struct file_struct *f);
diff -E -B -c -r rsync-2.5.6/rsync.h rsync-2.5.6-remotebatch/rsync.h
*** rsync-2.5.6/rsync.h Sun Jan 26 20:11:16 2003
--- rsync-2.5.6-remotebatch/rsync.h Wed Jul 23 10:52:41 2003
***************
*** 50,56 ****
#define SAME_TIME (1<<7)
/*...
2002 Jul 22
2
rsync: --delete fails with multiple source directories
Hello,
Rsync 2.5.5 is producing this error message and a core file when executing the
command "/usr/local/bin/rsync -av --delete --force /net/OSCM/OS_ATLAS2/CONFIG/.
/net/OSCM/OS_TITAN1/2.6/CONFIG/. /OS/2.6/CONFIG"
building file list ... done
rsync: connection unexpectedly closed (8 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(150)
The
2004 Feb 06
4
memory reduction
..._name(flist->files[i]));
}
}
- receive_file_entry(NULL, 0, 0); /* Signal that we're done. */
+ receive_file_entry(NULL, 0, NULL, 0); /* Signal that we're done. */
if (verbose > 2)
rprintf(FINFO, "received %d names\n", flist->count);
@@ -1337,34 +1357,42 @@ int flist_find(struct file_list *flist,
return -1;
}
-
/*
- * Free up any resources a file_struct has allocated, and optionally free
- * it up as well.
+ * Free up any resources a file_struct has allocated
+ * and clear the file.
*/
-void free_file(struct file_struct *file, int free_the_struct)
+void cle...
2001 Nov 20
2
patch to enable faster mirroring of large filesystems
...st *flist,char *fname,
int recursive, unsigned base_flags);
struct file_list *send_file_list(int f,int argc,char *argv[]);
+struct file_list *send_file_list_fp(int f,FILE *fp);
struct file_list *recv_file_list(int f);
int file_compare(struct file_struct **f1,struct file_struct **f2);
int flist_find(struct file_list *flist,struct file_struct *f);
2003 Jan 14
4
specifying a list of files to transfer
...flist, char *fname,
int recursive, unsigned base_flags);
struct file_list *send_file_list(int f, int argc, char *argv[]);
+struct file_list *send_file_list_fp(int f,FILE *fp);
struct file_list *recv_file_list(int f);
int file_compare(struct file_struct **f1, struct file_struct **f2);
int flist_find(struct file_list *flist, struct file_struct *f);
2004 Mar 10
4
HFS+ resource forks: WIP patch included
...flags);
+void send_file_name(int f, struct file_list *flist, char *fname,
+ int recursive, unsigned base_flags);
+struct file_list *send_file_list(int f, int argc, char *argv[]);
+struct file_list *recv_file_list(int f);
+int file_compare(struct file_struct **f1, struct file_struct **f2);
+int flist_find(struct file_list *flist, struct file_struct *f);
+void free_file(struct file_struct *file);
+struct file_list *flist_new(void);
+void flist_free(struct file_list *flist);
+char *f_name(struct file_struct *f);
+char *f_name_dst(struct file_struct *f);
+void show_flist_stats(void);
+int readlink_stat...