Displaying 14 results from an estimated 14 matches for "delete_on".
Did you mean:
delete_one
2004 Sep 20
1
rsync version 2.6.3pre1 protocol version 28
...8:54 TOPO-1.0.0.tar.gz
-rw-rw-rw- 1 biolord bioinf 29610 Sep 19 05:26 mirror.log
Using rsync -r --delete on server B for this dir works fine, also rsync -r
--keep-dirlinks works OK (but no deletes, of couse).
With rsync --keep-dirlinks -r --delete HOST:$ftp/software . I get:
rsync: delete_one: unlink "/gaia/indata/software/PHYLIP/mirror.log"
failed: No such file or directory (2)
rsync: delete_one: unlink "/gaia/indata/software/PHYLIP/TOPO-1.0.0.tar.gz"
failed: No such file or directory (2)
rsync: delete_one: unlink "/gaia/indata/software/PHYLIP/TOPO-0.1.tar.g...
2002 Sep 17
0
Bug Report rsync 2.5.5 --delete and soft links to parent directories causes MAXSYMLINKS error
...the source dir, the command fails.
%> rsync -Pva --delete --copy-unsafe-links /tmp/src/ /tmp/dst
building file list ...
3 files to consider
readlink dir1/dir2/dir1/dir2/...(editted for line length)...dir1/dir2:
Number of symbolic links encountered during path name traversal exceeds
MAXSYMLINKS
delete_one: rmdir dir1/dir2/dir2/...(editted).../dir1/dir2/dir1/dir2:
Not a directory
... (walks down from MAXSYMLINKS)
delete_one: rmdir dir1/dir2/dir1/dir2/dir1/dir2: Not a directory
delete_one: rmdir dir1/dir2/dir1/dir2: Not a directory
wrote 114 bytes read 20 bytes 268.00 bytes/sec
total size is 2 spe...
2003 Jul 20
0
Permission denied & readlink errors
...0.log: No such file or directory
3) When applying the delete option to remove files which do not exists on the source from the destination filesystem, it produced a "Permission denied" error.
Permission settings for all filesystems on the source and dest have been set to 755(-rwxr-xr-x):
delete_one: unlink .snapshot/hourly.1/block/kboey/kboey/westport/pci_power/power/npe/npe0_wp_gv_132/pci_unit_htmldir/25/1832.html: Permission denied
delete_one: unlink .snapshot/hourly.1/block/kboey/kboey/westport/pci_power/power/npe/npe0_wp_gv_132/pci_unit_htmldir/25/1831.html: Permission denied
4) Error...
2002 Feb 07
1
rsync error: partial transfer (code 23) at main.c(576)
I want to rsync my home directory from interd1 to interp1. interd1 is
the server, so I enter:
rsync -vraz --delete ./ interp1::test
rsync: building file list ...
rsync: 6 files to consider.
delete_one: unlinek .rhosts: Permission denied
./
.profile
rsync: failed to open ".sh_history", continuing : Permission denied
.sh_history
a.a
rsync.tst
test
mkstemp ..profile.KIa00D failed
mkstemp ..sh_history.LIa00D failed
mkstemp .a.a.MIa00D failed
mkstemp .rsync.test.NIa00d failed
mkstemp .test...
2004 Mar 22
2
orphan dirs and files with --delete
...up source a little bit
chmod a+w dir1
rm -rf dir1
# attempt to clean up dest with rsync (this --delete will fail)
rsync --delete -av /tmp/source/ /tmp/dest
cd /tmp
OUTPUT (of final rsync)
-----------------------
/tmp/source> rsync --delete -av /tmp/source/ /tmp/dest
building file list ... done
delete_one: unlink dir1/file4: Permission denied
delete_one: unlink dir1/file3: Permission denied
./
wrote 102 bytes read 20 bytes 244.00 bytes/sec
total size is 0 speedup is 0.00
rsync error: some files could not be transferred (code 23) at main.c(620)
2004 Apr 14
1
Feature proposal and implementation plan: --delete-delay
...ng track of how much time has elapsed.
Here is a proposed method of doing this:
1. When a file is first discovered to be obsolete due to the source
file having been deleted, rename the local file
"originalfilename__RSYNC_YYYYMMDD".
2. Whenever we are asked to delete a file (in delete_one), check the
filename. If it is in the form above, check to see if the required
amount of time has elapsed (via a --delete-delay=NDAYS argument). Delete
as appropriate. If the file isn't in the correct form, the file only
became obsolete just now; rename the file with the current date....
2006 Jan 07
1
Occasional 'Permission denied'
...ning rsync for years, and it's working great - offsite backups,
backups to a SAN, etc. It's a lifesaver.
Occasionally, I'm getting a very few files that give me something like the
following:
opendir(etc/gconf/gconf.xml.defaults/schemas/apps/panel/default_profiles):
Permission denied
delete_one: rmdir usr/src/linux-2.4.21-32.0.1.EL/arch/mips/ite-boards:
Permission denied
mkstemp usr/X11R6/man/man1/.twang.1.gz.wEaSYT failed: Permission denied
It's not many files, but since I'm running as root, I'm curious why there's a
problem creating/deleting/unlinking these files. An...
2006 Mar 09
2
DO NOT REPLY [Bug 3594] New: --delete doesn't delete destination files that don't exist at the source
...ontent/logo_white_w_tag.eps
content/logo_white_w_tag.jpg
content/logo_white_w_tag.pdf
sent 1491344 bytes received 180 bytes 2983048.00 bytes/sec
total size is 1490564 speedup is 1.00
Marketing-Station:~/Desktop Graphics$ rsync -av --delete source/ destination/
building file list ... done
rsync: delete_one: unlink
"/Users/Graphics/Desktop/destination/content/logo_white_w_tag.eps" failed:
Unknown error: 0 (0)
content/
content/.DS_Store
sent 12582 bytes received 40 bytes 25244.00 bytes/sec
total size is 883907 speedup is 70.03
rsync error: some files could not be transferred (code 23) at...
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 Apr 27
1
rsync-2.6.1 close() fixes
...--------
--- rsync-2.6.1/receiver.c.bak 2004-03-23 18:50:40.000000000 +0200
+++ rsync-2.6.1/receiver.c 2004-04-27 19:11:46.000000000 +0300
@@ -45,6 +45,7 @@ extern int cleanup_got_literal;
extern int module_id;
extern int ignore_errors;
extern int orig_umask;
+extern int do_fsync;
static void delete_one(char *fn, int is_dir)
{
@@ -268,6 +269,12 @@ static int receive_data(int f_in,struct
exit_cleanup(RERR_FILEIO);
}
+ if (do_fsync && (fd != -1) && (fsync(fd) != 0)) {
+ rprintf(FERROR, "fsync failed on %s: %s\n",
+ full_fname(fname), strerror(errno));
+ exit_c...
2005 Aug 19
3
rsync anomalies (OS X Tiger)
...OURCEREF $DESTVOL_MP > $DCSTDOUT
When I do so, I always get the first error below and once got the second
error.
rsync: rename
"/Volumes/LaCie_Disk_B/System/Library/CoreServices/.BootX.AZBM0z" ->
"System/Library/CoreServices/BootX": Operation not permitted (1)
rsync: delete_one: unlink "/Volumes/LaCie_Disk_B/Volumes/._LaCie_Disk_B"
failed: No such file or directory (2)
If I boot to the clone (LaCie_Disk_B) everything seems OK and the files
I know I changed are up to date, but I'm not yet ready to trust this
updated clone.
Can anyone shed any light on h...
2004 Apr 27
1
[PATCH] Inplace option for rsync
...receiver.c rsync-inplace/receiver.c
--- rsync-2.6.1pre2/receiver.c 2004-03-24 03:50:40.000000000 +1100
+++ rsync-inplace/receiver.c 2004-04-22 09:16:47.000000000 +1000
@@ -45,6 +45,7 @@
extern int module_id;
extern int ignore_errors;
extern int orig_umask;
+extern int inplace;
static void delete_one(char *fn, int is_dir)
{
@@ -226,6 +227,7 @@
full_fname(fname), strerror(errno));
exit_cleanup(RERR_FILEIO);
}
+
offset += i;
continue;
}
@@ -249,16 +251,28 @@...
2003 Sep 05
1
new option suggestion '--backup-only'
...les[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;
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
- modifi...
2004 Jan 17
1
--delete-sent-files (AKA --move-files)
..._address);
Index: receiver.c
--- receiver.c 15 Jan 2004 07:42:25 -0000 1.63
+++ receiver.c 17 Jan 2004 05:04:55 -0000
@@ -39,6 +39,7 @@ extern char *backup_dir;
extern char *backup_suffix;
extern int backup_suffix_len;
extern int cleanup_got_literal;
+extern int delete_sent_files;
static void delete_one(char *fn, int is_dir)
{
@@ -287,7 +288,7 @@ int recv_files(int f_in,struct file_list
char *fname, fbuf[MAXPATHLEN];
char template[MAXPATHLEN];
char fnametmp[MAXPATHLEN];
- char *fnamecmp;
+ char *fnamecmp, numbuf[4];
char fnamecmpbuf[MAXPATHLEN];
struct map_struct *mapbuf;
int i;
@@ -...