al post here reproduce the permission
> change?
>
>
>
> PS: In my case the attached script shows (excerpt):
>
> ./setup_cp_al.sh
>
> Tested with
> - rsync version 3.2.7 protocol version 31
> - ext4 file system
> - Ubuntu 22.04
>
> File stats BEFORE rsync
e the permission change?
- Q: Did my script attached to the initial post here reproduce the permission
change?
PS: In my case the attached script shows (excerpt):
./setup_cp_al.sh
Tested with
- rsync version 3.2.7 protocol version 31
- ext4 file system
- Ubuntu 22.04
File stats BEFORE
On Fri 22 Sep 2023, Kevin Korb via rsync wrote:
> 444 {} +' to make read only files for rsync to want to chmod, then used cp
> -al to make several duplicate trees using hard linked files. An rm -rf on
> one such tree took .97 seconds while an rsync deletion took 1.25 seconds.
Be sure to drop the
So I decided to do a quick test using the Linux kernel source tree since
it has lots of files. I duplicated a tree, used 'find . -type f -exec
chmod 444 {} +' to make read only files for rsync to want to chmod, then
used cp -al to make several duplicate trees using hard linked files. An
rm -r
On Thu, 2023-09-21 at 20:08 -0400, Kevin Korb via rsync wrote:
> I have heard in the past that rsyncing an empty dir over a tree to
> delete the tree is faster than an rm -rf but I can't say I have ever
> benchmarked it to get any actual numbers.
This **may** indeed be a myth (for a long time n
I had intended to come back to this but because I didn't really think I
had anything to add to the discussion I put it at a low enough priority
that I forgot about it. But I saw your bug report and was surprised to
see that I was already unhelpful on this topic but because that original
poster
wner source/* snapshot1/
mkdir snapshot2
# rsync --recursive --times --devices --specials --hard-links --human-readable
-s --links --perms --executability --group --owner --link-dest=../snapshot1
source/* snapshot2/
rsync --perms --executability --group --owner --link-dest=../snapshot1 source/*
https://bugzilla.samba.org/show_bug.cgi?id=13991
Wayne Davison changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bugzilla.samba.org/show_bug.cgi?id=13991
--- Comment #1 from Bruce Arden ---
Created attachment 15235
--> https://bugzilla.samba.org/attachment.cgi?id=15235&action=edit
Commands to demonstrate further problem
set VG to an LVM volumegroup with spare space
On my machine this gives:
...
https://bugzilla.samba.org/show_bug.cgi?id=13991
Bug ID: 13991
Summary: rsync --delete --one-file-system skips deletes after
crossing filesystems on destination.
Product: rsync
Version: 3.1.3
Hardware: All
https://bugzilla.samba.org/show_bug.cgi?id=11086
Wayne Davison changed:
What|Removed |Added
Resolution|--- |INVALID
Status|NEW
On 16.04.2015 12:20, ? ?? wrote:
> Hi, Rsync.
>
> find /home/rc-41/data/061/2015-04-01-07-04/ -delete
> I know not suitable
-mindepth 1 ?
That deletes the whole contents, but doesn't delete the folder itself.
--
Matthias
--
Please use reply-all for most replies to avoid
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I thought of something else if it must be rsync that is used...
rsync -a --delete --exclude='*' --delete-excluded /anywhere/
/stuff/to/delete/
That would empty the target dir regardless of what is in the source dir.
I would still like to hear how th
problem is he's trying to rsync into the target dir and have the
side effect of delete. so an empty dir would necessarily need to be
in the target of course and thus created there, triggering the quota block.
he tried to avoid this by using device files then 'blocking all device files'
but i think
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I don't understand what is wrong with rm either.
But if you must have an empty directory is there a tmpfs where you can
make one? Is there already an empty one like /var/empty?
On 04/16/2015 10:13 AM, Ken Chase wrote:
> Wow, it took me a few seconds
Wow, it took me a few seconds to figure out what you were trying to do.
What's wrong with rm?
Also I think trying to leverage the side of disqualifying all source files
just to get the delete effect (very clever but somewhat obtuse!) risks
creating a temporary file of some kind in the target at t
Hi, Rsync.
I want to help rsink delete a folder with a large number of files and folders.
Tried this:
rsync -a --no-D --delete /dev/null
/home/rc-41/data/061/2015-04-01-07-04/
skipping non-regular file "null"
rsync -a --no-D --delete /dev/zero
/home/rc-41/data/061/2015-
https://bugzilla.samba.org/show_bug.cgi?id=11086
--- Comment #5 from Kevin Korb ---
Not really. I wrote my own. IIRC BackupPC is the most up to date one.
--
You are receiving this mail because:
You are the QA Contact for the bug.
--
Please use reply-all for most replies to avoid omitting the
https://bugzilla.samba.org/show_bug.cgi?id=11086
--- Comment #4 from ddd ---
Well, maybe I should look into those rsync-based snapshot systems when I'll buy
another 3 TB HDD. ) Can you recommend any of those backup systems?
--
You are receiving this mail because:
You are the QA Contact for the
https://bugzilla.samba.org/show_bug.cgi?id=11086
--- Comment #3 from Kevin Korb ---
What you have is a mirror not a backup system. Sure, it can protect you from
accidental deletions or disk failures but it wouldn't protect you from
intentional data destruction (think virus or hacker).
Yes, I wa
https://bugzilla.samba.org/show_bug.cgi?id=11086
--- Comment #2 from ddd ---
Thank you a lot! I added --exclude='.gvfs' parameter and everything works now.
Thumbs up!
I was trying to use --delete-before because of low space on the partition. Now
it's really enough space and I use default --delet
https://bugzilla.samba.org/show_bug.cgi?id=11086
--- Comment #1 from Kevin Korb ---
This is your problem:
> 2015/01/31 17:25:58 [12091] rsync: readlink_stat("/home/myuser/.gvfs")
> failed: Permission denied (13)
If rsync hits any error it aborts the deletion process which it would have said
wit
https://bugzilla.samba.org/show_bug.cgi?id=11086
Bug ID: 11086
Summary: rsync --delete has stopped to delete destination files
that don't exist at the source
Product: rsync
Version: 3.1.1
Hardware: x64
te:
>
> Hello!
>
> I was wondering wether or not this would be a viable option to add to
> rsync:
>
> --delete-hide
>
> Instead of deleting the file, rsync would rename the file using leading
> "." and trailing ".deleted-{timestamp}".
>
> rsync
Hello!
I was wondering wether or not this would be a viable option to add to rsync:
--delete-hide
Instead of deleting the file, rsync would rename the file using leading “.” and
trailing “.deleted-{timestamp}”.
rsync -rv --delete-hide /src/ /dst/
For example if /src/readme.txt had already
>>On 01/28/13 17:02, Stewart Jeacocke wrote:
>> I'm trying to copy some directories with rsync and would like to
>> delete files from the destination if they no longer exist in the
>> source.
>>
>> I'm using the following command:
>>
>> rsync -v --archive --hard-links --delete --force
>> --filter='
At 22:02 28.01.2013 +, Stewart Jeacocke wrote:
>Hi,
>
>I'm trying to copy some directories with rsync and would like to
>delete files from the destination if they no longer exist in the
>source.
>
>I'm using the following command:
>
>rsync -v --archive --hard-links --delete --force
>--filter=':
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Is there any output? How about with an additional -v ?
Is there a .rsync-filter file anywhere?
On 01/28/13 17:02, Stewart Jeacocke wrote:
> Hi,
>
> I'm trying to copy some directories with rsync and would like to
> delete files from the destinatio
Hi,
I'm trying to copy some directories with rsync and would like to
delete files from the destination if they no longer exist in the
source.
I'm using the following command:
rsync -v --archive --hard-links --delete --force
--filter=':/.rsync-filter' /opt/ /mnt/backup/opt/
/opt does not contain
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My guess is that you did it wrong once in the past and have an extra
/mnt/AS5/AS5 on the target that is being purged. Take a look for that
possibility and also try again with an addition -v and with
- --itemize-changes.
On 06/17/12 20:55, Richard Zin
Hi,
When running an rsync command of the form:
$ rsync -avn --delete remotehost:/mnt/volsw_dev/AS5/ /mnt/volsw_dev/AS5
rsync wants to delete a slew of files and directories. Partial output
includes, for example:
deleting AS5/zeromq/2.2.0/share/man/man7/zmq_tcp.7
deleting AS5/zeromq/2.2.0/sha
https://bugzilla.samba.org/show_bug.cgi?id=5939
way...@samba.org changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=5939
--- Comment #3 from wthr...@mit.edu 2009-07-14 22:03 CST ---
Created an attachment (id=4418)
--> (https://bugzilla.samba.org/attachment.cgi?id=4418&action=view)
Patch to ignore "delete of stat xattr" failures on symlinks
--
Configure
https://bugzilla.samba.org/show_bug.cgi?id=5939
wthr...@mit.edu changed:
What|Removed |Added
CC||wthr...@mit.edu
--- Comment #2 fro
On Mon, 2009-05-18 at 02:28 -0700, tammy wrote:
> I have 3 load balancing servers. Each user may login to different servers to
> upload their data, lets say, a company logo.
> That's why i tried to use rsync to synchronize the uploaded logo and some
> other necessary modules. This mean, each server
so..?
Any comment or suggestion are mostly welcome..
--
View this message in context:
http://www.nabble.com/rsync-delete-architecture-tp23594031p23594031.html
Sent from the Samba - rsync mailing list archive at Nabble.com.
--
Please use reply-all for most replies to avoid omitting the mailin
Peter Daum wrote:
- The problem only occurs when there is more than 1 file system to
sync. When I only backup "/", everything is fine, when I add another
source file system, nothing below "/var" will be deleted (I still don't
have a clue, why this occurs on "/var" but not on other paths)
Hi,
I still couldn't find a really simple test case but at least I can
provide some more details regarding this obscure issue:
- The problem only occurs when there is more than 1 file system to
sync. When I only backup "/", everything is fine, when I add another
source file system, nothing b
Hi,
Izidor Jerebic wrote:
Are there any errors while doing the rsync?
I have recently discovered that to create identical copy on mac os x (in
the presence of any errors), you need to additionally specify
--ignore-errors and --force-delete, otherwise nothing will be deleted
(it seems that
Hello, Peter,
Are there any errors while doing the rsync?
I have recently discovered that to create identical copy on mac os x
(in the presence of any errors), you need to additionally specify --
ignore-errors and --force-delete, otherwise nothing will be deleted
(it seems that as soon as
Hi,
as I just discovered, in recent versions of rsync the "--delete" option
seems to not work in certain cases. I couldn't come up with a simple
scenario to reproduce the problem, so I'll have to tell the whole story:
I use rsync to regularly backup a system onto other disks. The filesystems
I w
https://bugzilla.samba.org/show_bug.cgi?id=6041
i...@retrosync.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=6041
--- Comment #1 from m...@mattmccutchen.net 2009-01-16 20:58 CST ---
The FAQ discusses a problem copying to HFS+:
http://rsync.samba.org/FAQ.html#2
Is this what you are seeing?
--
Configure bugmail: https://bugzilla.samba.org/userpre
https://bugzilla.samba.org/show_bug.cgi?id=6041
Summary: rsync --delete from ext3 to hfs+ always deletes files
with special characters in name.
Product: rsync
Version: 3.1.0
Platform: x86
OS/Version: Mac OS X
(home/testuser/amazon/startupscript.sh,7)
rsync: delete of stat xattr failed for "home/testuser/amazon/startupscript.sh"
(in backup): Operation not permitted (1)
set modtime of home/testuser/amazon/startupscript.sh to (1228399898) Thu Dec 4
14:11:38 2008
set uid of home/testuser/amazon/startu
https://bugzilla.samba.org/show_bug.cgi?id=5939
Summary: rsync: delete of stat xattr failed for ... (in backup):
Operation not permitted (1)
Product: rsync
Version: 3.0.4
Platform: Other
OS/Version: Linux
Status
On Wed, 2008-08-20 at 00:20 +0200, Komáromi Tamás wrote:
> I would like to sync my Linux firewall to my Mac OS X.
> The rsync deletes my files with accents and download it again.
> $ /sw/bin/rsync --archive --update --verbose --delete firewall:teszt .
> receiving incremental file list
> deleting
Hello,
I would like to sync my Linux firewall to my Mac OS X.
The Linux is a Debian 4.0 with ext3 filesystem (UTF-8)
$ rsync --version
rsync version 3.0.2 protocol version 30
The Mac OS X is a 10.5 Leopard with HFS+ (UTF-8)
$ /sw/bin/rsync --version
rsync version 3.0.3 protocol version 30
(
I see, you're right :)
Is there anything useful that can be donated to the rsync developers?
Keep up the great work.
Best regards,
Tiago Marques
On Sun, Aug 10, 2008 at 11:16 PM, Matt McCutchen <[EMAIL PROTECTED]> wrote:
> On Sun, 2008-08-10 at 23:04 +0100, Tiago Marque
On Sun, 2008-08-10 at 23:04 +0100, Tiago Marques wrote:
> It worked, --delete-excluded was all that was missing.
> I really think this should be the implied behavior and would like to
> see it as default, if there really isn't a good reason for it being
> this way.
The current behavior is useful i
Thanks! It worked, --delete-excluded was all that was missing.
I really think this should be the implied behavior and would like to
see it as default, if there really isn't a good reason for it being
this way.
Best regards,
Tiago Marques
On Sun, Jul 13, 2008 at 6:26 P
On Tue, 2008-07-29 at 12:10 -0400, Matt McCutchen wrote:
> You are welcome to request an option to make rsync delete destination
> files that are matched in --compare-dest dirs. I would actually suggest
> a more general option called --recheck-basis-dirs that also replaces a
> dest
But Is it really a bug ?
> or may I request a --delete-if-found-in-compare-dir ?
Rsync is behaving as expected. The man page description of --link-dest
says, "rsync treats existing files as definitive (so it never looks in
the link-dest dirs when a destination file already exists)"; it wo
Hello,
I'm trying to do a differential backup. Each commands/scripts are launch on
backup server side.
- rsync-ref: 1 script perform a complete backup to a directory "ref".
something like that:
rsync --archives \
station:/path1/ /servbasepath/ref/servpath1/
- rsync-diff: 1 script p
Rsync 2.6.9 seems to think that the destination is already up to date.
What do you expect it to do that it isn't doing? Update an existing
file? (What are the size and mtime of that file and the corresponding
source file?) Delete an extraneous file? (Note that you'll have to
convert the exclude
On Sat, 2008-07-12 at 03:48 +0100, Tiago Marques wrote:
> Hmm, looks like I'm not done with this, yet.
> With rsync 3.02, it works fine:
>
> rsync --exclude='/*/' --delete-before -tvlpr
> rsync://rsync.sabayonlinux.org/SabayonLinux/ /storage/mirrors/
>
> But not with the 2.6.9 version :|
> I just
Hmm, looks like I'm not done with this, yet.
With rsync 3.02, it works fine:
rsync --exclude='/*/' --delete-before -tvlpr
rsync://rsync.sabayonlinux.org/SabayonLinux/ /storage/mirrors/
But not with the 2.6.9 version :|
I just get this, with the mirror completely outdated:
receiving
Indeed, that worked great for me!
Big thanks to both for your time.
Tiago Marques
On 7/11/08, Matt McCutchen <[EMAIL PROTECTED]> wrote:
> On Fri, 2008-07-11 at 13:01 -0700, Wayne Davison wrote:
> > On Fri, Jul 11, 2008 at 04:22:04PM +0100, Tiago Marques wrote:
> > > I was already
On Fri, 2008-07-11 at 13:01 -0700, Wayne Davison wrote:
> On Fri, Jul 11, 2008 at 04:22:04PM +0100, Tiago Marques wrote:
> > I was already using the -d option, it download the subdirs also.
>
> You also need to not use -r (e.g. either expand -a and omit -r, or
> specify --no-r).
-d will create th
On Fri, Jul 11, 2008 at 04:22:04PM +0100, Tiago Marques wrote:
> I was already using the -d option, it download the subdirs also.
You also need to not use -r (e.g. either expand -a and omit -r, or
specify --no-r).
..wayne..
--
Please use reply-all for most replies to avoid omitting the mailing l
I was already using the -d option, it download the subdirs also.
The --exclude option worked fine though, and --delete-before is now
working very well.
Tks to all!
Best regards,
Tiago Marques
On Fri, Jul 4, 2008 at 11:18 PM, Wayne Davison <[EMAIL PROTECTED]> wrote:
> On F
On Fri, Jul 04, 2008 at 05:08:41PM -0400, Matt McCutchen wrote:
> Use --recursive and then exclude the stuff you don't want, e.g.,
> --exclude='/*/' to exclude all subdirectories.
You can also use -d (--dirs) instead of -r (--recursive). That makes
rsync transfer just the contents of a specified
On Fri, 2008-07-04 at 20:11 +0100, Tiago Marques wrote:
> In the past, since
> --delete-before did nothing, I did a dry run and then parsed the
> output to have it "rm" the files that were to be deleted. That so also
> because the --delete needs the --recursive option, which for me is
> very imprac
On Fri, Jul 04, 2008 at 08:11:36PM +0100, Tiago Marques wrote:
> rsync --delete-before -v -tvlpr
> rsync://rsync.sabayonlinux.org/SabayonLinux/* ./ --dry-run
Check out the manpage on the --delete option. The very first paragraph
tells you why you shouldn't be using a wildcar
Inside the target dir, there is a file named "asdasdasd" which isn't
deleted, nor mentioned to, since this is a dry-run.
with:
rsync --delete-before -v -tvlpr
rsync://rsync.sabayonlinux.org/SabayonLinux/* ./ -
On Fri, 2008-07-04 at 16:13 +0100, Tiago Marques wrote:
> I had this working on an older version, since 2.6.9 that when I set
> --delete and --dry-run, I get no "Deleting **" lines.
Be sure to pass -v because, since rsync 2.6.7, --dry-run no longer
implies it:
http://gitweb.samba.org/?p=rsync
I had this working on an older version, since 2.6.9 that when I set
--delete and --dry-run, I get no "Deleting **" lines. Also, the
--delete-before never worked for me.
Working on a space constrained mirror, this has proven very handy,
when it works. What's up with the new versions? I haven't c
On Tue, Jun 10, 2008 at 03:03:23AM -0700, GiveMF wrote:
> So I want to sync from the dev directory (which doesn't have .svn
> directories) to one that does.
An exclude does two things: it prevents files that match from being
transferred from the sender, and it protects files that match from being
sure how to use --delete and still keep certain files / dirs (those
.svn dirs).
Any help would be appreciate.
Thanks,
GMF.
--
View this message in context:
http://www.nabble.com/rsync---delete-%28but-not-all-files%29-question-tp17751838p17751838.html
Sent from the Samba - rsync mailing list archiv
Le dimanche 23 décembre 2007, Matt McCutchen a écrit :
> On Sat, 2007-12-22 at 18:47 -0800, Jesse Thompson wrote:
> > Now I'm interested in a new possibility however. Using rsync
> > (connecting to a remote rsync server via rsync protocol) is there a
> > way to measure the size of a directory, kind
On Sat, 2007-12-22 at 18:47 -0800, Jesse Thompson wrote:
> Now I'm interested in a new possibility however. Using rsync
> (connecting to a remote rsync server via rsync protocol) is there a
> way to measure the size of a directory, kind of like du, without
> having to transfer it?
Yes. Do a trans
Seams I have sorted out my problem until futher.
By doing rsync over SSH to my NAS drive instead of mapping my NAS drive
using smbmount, --delete works fine.
/Torben
> For some time I have been using rsync to backup data between different
> machines and my NAS drive.
>
> But within the last 2 da
For some time I have been using rsync to backup data between different
machines and my NAS drive.
But within the last 2 days I have found out that rsync is not removing old
files from destination - directories renamed or removed from source.
In this example I want to sync files on my Debian Linux
https://bugzilla.samba.org/show_bug.cgi?id=5091
[EMAIL PROTECTED] changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
https://bugzilla.samba.org/show_bug.cgi?id=5091
Summary: Incremental-recursive, list-only "rsync --delete" tries
to clean out working dir
Product: rsync
Version: 3.0.0
Platform: x86
OS/Version: Linux
S
On Sun, 2007-11-04 at 13:50 -0800, Jesse Thompson wrote:
> What would be the closest approximation to something like this?
>
> # rsync -r --just-nuke-the-target remote::volume/directory
>
> Is it something that can be done with rsync?
Yes, but it is a bit awkward because rsync considers deletio
Hello :)
I am trying to build a backup system based upon Rsync, and I have a question
about it's deleting features.
I want to be able to use rsync to delete and remove a directory from the
remote server, similar to "rm -Rf directory"
The closest I seem to be able to get is the following progress
On 8/25/07, Ameerov <[EMAIL PROTECTED]> wrote:
> Hi, I hope this is the right place to post this... I came across this
> old unsolved post that is describing the exact problem i am having,
> tried emailing the author but the email bounced.
>
> http://lists.samba.org/archive/rsync/2006-June/015697.
Hi, I hope this is the right place to post this... I came across this
old unsolved post that is describing the exact problem i am having,
tried emailing the author but the email bounced.
http://lists.samba.org/archive/rsync/2006-June/015697.html
Basically files on the destination get deleted
On 5/5/07, Matthias Schniedermeyer <[EMAIL PROTECTED]> wrote:
If you have subdirectories to be killed:
find . -type d -empty -exec rmdir {}\;
You have to run that a few times (One time for each deepth-level), and don't
worry about the 'No such file or directory' warnings that it will spit for
e
Erik Red wrote:
> Hi,
>
> I made the mistake of doing an rsync of a directory into the wrong
> destination,
> so that the destination became a mix of two directories of unrelated files.
>
> Top unravel the mess, I could need something like a --delete-existing
> option.
>
> The semantics would be
Hi,
I made the mistake of doing an rsync of a directory into the wrong
destination,
so that the destination became a mix of two directories of unrelated files.
Top unravel the mess, I could need something like a --delete-existing
option.
The semantics would be to delete at the destination O
I managed to solve this in the end.
It was file permissions. I had originally copied all the data across by
restoring from Backup tape and then started using Rsync to keep the two
identical.
After deleting the directories in question and rsyncing them from
scratch, the problem has been solved.
Hi,
wondering if someone can help. I have googled for this and scoured the
man page, but have got no further.
I am running rsync 2.6.6 on windows and am finding it doesn't delete
files from the target.
For example my batch file has:
rsync -av --delete /cygdrive/G/SAN_ARRAY/XPP_Data/alljobz/
/
On Mon, Jun 05, 2006 at 08:19:24AM -0500, Smemoe, Richard L. wrote:
> It looks like it's only copying the changes to the original filesystem
> since the last rsync.
That's not very likely to be what is happening. I'd suggest using the
-v option so that you can see what rsync is deleting -- this s
lete-during
/production/filesystem/ .', but this gave me nothing in my backup
filesystem.
Thanks,
Richard
-Original Message-
From: Wayne Davison [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 01, 2006 11:37 AM
To: Smemoe, Richard L.
Cc: rsync@lists.samba.org
Subject: Re: rsync --
On Thu, Jun 01, 2006 at 09:31:49AM -0500, Smemoe, Richard L. wrote:
> When I added the -delete option, my backup started taking about two
> days to finish.
You'd be better off using --del (--delete-during) than --delete, as
it doesn't require a separate scan through the destination hierarchy.
Al
Hello,
I need to create a local backup every night of a filesystem
that has about 3.5 million files. I’ve been using rsync and
everything has been fine until I started to use the –delete option to
delete files on the backup that don’t exist in the production data. When
I added the –de
On Tue, Mar 28, 2006 at 09:39:07AM +0800, Huang, YongHui wrote:
> why it NOT delte /D01/003.doc? is it a bug?
Nope. Your exclude affected directory D01, so the include has no chance
to effect anything. Add a preceding --include=/D01/ and try again.
..wayne..
--
To unsubscribe or change options
Rsync version
2.6.6
I want to call rsync from java
webserver in Linux.
situation as
below:
source
directory:
001.doc
002.doc
/D01/001.doc
/D01/002.doc
/D01/D11/001.doc
/D02/001.doc
destination
directory:
001.doc
003.doc
004.doc
/D01/001.doc
/D01/003.doc
/D01/004.doc
/D01/D11/00
I want to call rsync from java
webserver in Linux.
situation as
below:
source
directory:
001.doc
002.doc
/D01/001.doc
/D01/002.doc
/D01/D11/001.doc
/D02/001.doc
destination
directory:
001.doc
003.doc
004.doc
/D01/001.doc
/D01/003.doc
/D01/004.doc
/D01/D11/003.doc
/D02/003.doc
now,
Wayne wrote:
> On Sun, Feb 27, 2005 at 05:34:48PM -0500, Eli wrote:
> > It would build the file list and copy over some files, but not
> > everything. Even with --delete-excluded it still didn't
> delete files
> > on the dest server that weren't on the src system.
>
> Then you must have done
On Sun, Feb 27, 2005 at 05:34:48PM -0500, Eli wrote:
> It would build the file list and copy over some files, but not
> everything. Even with --delete-excluded it still didn't delete files
> on the dest server that weren't on the src system.
Then you must have done something wrong, such as still
Wayne wrote:
> On Sun, Feb 27, 2005 at 04:31:15AM -0500, Eli wrote:
> > I thought I could use --include-from and then add
> --exclude='*' to see
> > if rsync would backup what I needed and then delete
> anything not in my
> > list from the rsync server side, however it did not, not to mention
On Sun, Feb 27, 2005 at 04:31:15AM -0500, Eli wrote:
> I thought I could use --include-from and then add --exclude='*' to see if
> rsync would backup what I needed and then delete anything not in my list
> from the rsync server side, however it did not, not to mention coming up
> quite short in the
I am using rsync with --files-from to specify an exclusive list of files for
rsync to back up to an rsync server. I give rsync the list using find to
spit out a list of files that are 2 or more days old from a list of files
that can change. The backup of the files works perfectly, however I
reali
On Fri, Dec 17, 2004 at 05:00:04PM +0800, kevinwatt wrote:
> I want client could delete the files which are don't exist on
> sender. but without to receive the new files back.
You could run rsync in --dry-run mode and pipe the output to a
script that will notice all the "deleting" lines and remov
Hello everyone,
for some reason,
I want client could delete the files which are don't exist on sender.
but without to receive the new files back.
how to do it?
I have been try a few way. but just can't work currect.
Sincerely,
Yen dewei
--
To unsubscribe or change options: https://lists.sa
Kjell Andresen wrote:
> The problem is in short that rsync used with the option --delete-after
> does NOT delete older files rsynced, but --delete does.
> The versions I have used is, from [fra (no.)]
> hox /# rsync --version
> rsync version 2.5.5 protocol version 26
>
> - and to [til (no.)]:
Hello!
I think I've found a bug in some (older) versions of rsync.
The problem does not seem to have been reported at bugzilla.
And of the 9 bugs found there by searching on "--delete-after"
all have got the name [EMAIL PROTECTED] attached.
I ask you therefore to check if this problem is found i
1 - 100 of 115 matches
Mail list logo