Displaying 20 results from an estimated 40000 matches similar to: "copying differences to different directory"
2007 Oct 30
3
Rsync hard-links devices with different mtimes despite -t: expected?
I noticed that rsync is happy to hard-link a device node from a
--link-dest dir even if its mtime differs from that of the source device
node and --times is given. Is this behavior expected? It seems to
break the rule that a difference in preserved attributes disqualifies a
hard link.
To see the behavior, run the following as root:
mkdir src dest basis
mknod src/null c 1 3
sleep 1
mknod
2010 Mar 04
2
--prune-empty-dirs option not doing the job
Hello and thanks to all who so generously assist on this great list.
test command:
rsync -avm --del --prune-empty-dirs --compare-dest=/Users/generic/Desktop/B /Users/generic/Desktop/A/ /Users/generic/Desktop/C
produces a large number of directories and nested directories on the destination that are empty. i've tried tweaking so many different combinations of options i'm beginning to
2019 Jan 02
6
[Bug 13735] New: Synchronize files when the sending side has newer change times while modification times and sizes are identical on both sides
https://bugzilla.samba.org/show_bug.cgi?id=13735
Bug ID: 13735
Summary: Synchronize files when the sending side has newer
change times while modification times and sizes are
identical on both sides
Product: rsync
Version: 3.1.3
Hardware: All
OS: All
Status: NEW
2006 Feb 17
3
rsync files with certain mtime
Hello List,
How would i rsync all files which are older than X-Days? I am missing
some kind of -mtime option. Since this is quite common for backups i am
wondering how you are doing this kind of stuff.
Thanks, Mario
2005 Feb 25
1
Feature request: Being able specify that the destination should follow source directory structure.
Greetings.
If I do this:
rsync --hard-links
one.server.com::"module/somedir/images/redhat/3.0WS/en/os/i386
module/someotherdir/1.0/images/redhat/3.0WS/en/os/i386" /export/distros
I get:
/export/distros/i386/... and a conflict between the two sources.
I want for destination:
/export/distros/images/redhat/3.0WS/en/os/i386
/export/distros/1.0/images/redhat/3.0WS/en/os/i386
In other
2008 Nov 09
7
How to delete files older than X on backup during sync?
Hi list,
I have been reading MAN pages and listarchives, but not found the
answer to my question though I am sure it must be possible to acheive
my wish.
I wish to use rsync to create a backup BUT only keep the files for a
limited period of time, EG two weeks.
I have not yet been able to figure out how to do this inside rsync
(while the backup is being performed) and my understanding of the
2009 Jul 27
3
mtime handling seems generally buggy for directories
Hello again,
as stated earlier there is a problem with mtime setting on directories during
healing in replication setup.
Today I tested 2.0.5 and found out that the handling is more or less generally
buggy for directory mtimes.
Simply try this:
untar some kernel archive on your local disk and look at the mtime of the
created top directory. now untar the same archive on an exported gluster fs
and
2005 Sep 23
1
mtime of target directory
Hello,
I just observed something strange:
rsync -av --exclude /USER/NoBackup --exclude '*.NTX'
--compare-dest=/backup/novell/vollbackup /mnt/novellserver/SYS/ /backup/novell/ziel
rsync -av --exclude /USER/NoBackup --exclude '*.NTX'
--compare-dest=/backup/novell/vollbackup/PUBLIC /mnt/novellserver/SYS/PUBLIC/ /backup/novell/ziel
For debugging purposes (saving time) I used
2010 Aug 13
26
DO NOT REPLY [Bug 7618] New: symlinks and --link-dest
https://bugzilla.samba.org/show_bug.cgi?id=7618
Summary: symlinks and --link-dest
Product: rsync
Version: 3.0.7
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: the_majkl at seznam.cz
QAContact:
2024 Aug 01
1
sftp can't preserve uploaded mtime: fsetstat: No such file or directory
On Wed, 31 Jul 2024, ilya Basin wrote:
> I've just tried that. It still fails.
>
> Is it possible to dump the decrypted sftp commands? I tried -vvv but found nothing interesting.
Try
Subsystem sftp /usr/libexec/sftp-server -l debug3
in sshd_config
> The Total Commander plugin calls:
>
> libssh2_sftp_setstat(ConnectSettings->sftpsession,
>
2007 Nov 19
1
rsync-ing from two locations with same filenames (at different versions)
Hello,
I would like to have a full repository, say, holding files
full/a.txt (version 1)
full/b.txt (version 1)
full/c.txt (version 1)
and a repository of updates, for example
new/b.txt (version 2 - newer)
Then, I would like to call
rsync [flags] new/ full/ destination
to get
destination/a.txt (v.1)
destination/b.txt (v.2)
destination/c.txt (v.1)
This simple case works
2017 Apr 27
2
Error with installed.packages with R 3.4.0 on Windows
Hello,
I am currently getting a strange error when I call installed.packages():
Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib) && :
missing value where TRUE/FALSE needed
Calls: installed.packages
I am working with R 3.4.0 on Windows. I didn't get this error with R 3.3.3.
Apparently, file.mtime() is returning NA well applied to a directory, and
2017 Jun 01
2
installed.packages() does not work properly
Hi,
I tried executing the following statement multiple times on R 3.4 and it worked only the first time. In older versions of R it seems to have worked. Am I doing anything wrong?
In R 3.4 (works only the first time)
tmp <- installed.packages() #this works
tmp <- installed.packages() ## See error below
Error in if (file.exists(dest) && file.mtime(dest) > file.mtime(lib)
2017 Sep 07
2
Samba Recycle Age limit.
Carlos A. P. Cunha via samba wrote:
> For me, is "magic line"
>
> find $DEST -depth -mtime +$DAYS -print -delete
----
I'm guessing you probably want 'ctime' there.
If you use mtime, then it will be deleted "ndays" after
the last modification date on the file -- NOT the time the file
was moved into the recycle bin.
If you use ctime - that
2007 Jan 30
1
rsync files with mtime
Hi,
I try to rsync files only X days old.
This is my setup. The backup server needs to store all servers' backup
and only has space for 7 days backup. But each individual server has
backup for 21 days. On the backup server, i remove files older than 7
days. When backup server pulls files, I want rsync only pull files
with mtime last 7 days.
Searching through the archive, someone suggested
2007 Aug 31
2
breakage? when using --ignore-times with --link-dest
Overview
--------
I am trying to use --ignore-times with --link-dest and find that all
files are duplicated inappropriately (IMHO). I think it is because
--link-dest creates a hard link, which results in the link count, and so
Change Time, changing. This requires rsync to create a new inode and
duplicate the data just to preserve the ctime. If --ignore-times is not
specified, only mtime and the
2016 Feb 19
2
problem cloning storage pool volume
I'm trying to clone a volume in a storage pool and I'm following the steps
described here:
http://libvirt.org/docs/libvirt-appdev-guide-python/en-US/html/libvirt_application_development_guide_using_python-Storage_Pools-Cloning.html
My code looks like:
destXML = """
<volume>
2006 Apr 17
12
DO NOT REPLY [Bug 3693] New: rsync can use same --link-dest file several times, leading to incorrect hard links
https://bugzilla.samba.org/show_bug.cgi?id=3693
Summary: rsync can use same --link-dest file several times,
leading to incorrect hard links
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo:
2013 Jan 29
2
--compare-dest -- copy ONLY files with content-differences between 2 directories... to a third
Hi,
I'm having trouble with --compare-dest, to copy only files that differ in
content.
Here are the commands used thusfar:
rsync -av --checksum --delete --progress --stats --compare-dest=../old
new/ new_archive
rsync -av --checksum --delete --progress --stats --compare-dest=../new
old/ old_archive
old/
a.txt
new/
a.txt
Note: both a.txt are the same (except for a different
2009 Mar 12
1
installed.packages and package info cache buglet (PR#13592)
Looks like there is a buglet in 'installed.packages', around line 17:
for (lib in lib.loc) {
dest <- file.path(tempdir(), paste("libloc_", URLencode(lib,=20
TRUE), paste(fields, collapse =3D ","), ".rds", sep =3D ""))
if (!noCache && file.exists(dest) && file.info(dest)$mtime >=20