> On Tue, Jan 24, 2023 at 11:51:42PM -0500, Roger wrote:
>I keep getting the following error. After several years I've had it, and am
>posting to the mailing list in hopes of better advice than stuckchange.
>
>rsync: [generator] failed to set times on "/mnt/tmp/.": Operation not
>permitted (1)
>
ichiwawa
I have been very much over thinking the problem, time for holiday
Thank You, this is fixing the dilemma
On Mon, Feb 7, 2022 at 7:37 PM Paul Slootman via rsync <
rsync@lists.samba.org> wrote:
> On Mon 07 Feb 2022, Edwardo Garcia via rsync wrote:
> >
> > Lets call module mirror
> > this
On Mon 07 Feb 2022, Edwardo Garcia via rsync wrote:
>
> Lets call module mirror
> this results in about 200 or more directories (projects), but I only want
> one of them, lets call it foo, the problem is foo/ has about 50
> directories, but the one and only one we want is bar, but bar also has
>
On Sat, Jul 11, 2020 at 12:59 AM Roland wrote:
> can "--filter" statements completely replace "--exclude" statements
Yes. The old-style exclude/include options just turn into the simplest
form of exclude/include filter rules.
..wayne..
--
Please use reply-all for most replies to avoid omittin
Either format is correct. However, there is no quoting or escaping in
the file. So:
- filename1
- file name 1
or without the -
On 1/3/20 1:45 PM, @lbutlr via rsync wrote:
> I have seen two main styles in examples for using rsync with exclude-from.
>
> The first is simply a list of filename, one
>You need to switch to filters where you have the additional options
>hide, show, risk, and protect. See the filter rules section of man rsync.
Thanks for the hint. Though I've been using rsync for years this part has
somehow escaped me. I've read up on the filters and they do what I
need. The d
You need to switch to filters where you have the additional options
hide, show, risk, and protect. See the filter rules section of man rsync.
On 12/4/18 8:36 AM, Fabian Cenedese via rsync wrote:
> Hello
>
> I'm looking for a way to exclude and delete some items but not delete
> other items. Use
>> I'm looking for a way to exclude and delete some items but not delete
>> other items. Use case:
>>
>> I'm on Windows where there are folders like recycle.bin and system
>> volume information on every drive. I can exclude them while backing
>> up my data drive. But I now also have other data th
Hi,
On 5/12/18 12:36 am, Fabian Cenedese via rsync wrote:
> I'm looking for a way to exclude and delete some items but not delete
> other items. Use case:
>
> I'm on Windows where there are folders like recycle.bin and system
> volume information on every drive. I can exclude them while backing
>
On Fri, Nov 20, 2015 at 06:43:12PM -0500, Kevin Korb wrote:
> If you use --exclude=pattern instead of --exclude patter those become
> more obvious. Also, you wouldn't have turned 'media' into an
> additional source parameter.
You're right. Thanks.
--
Bob Holtzman
A fair fight is the result of
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
If you use --exclude=pattern instead of --exclude patter those become
more obvious. Also, you wouldn't have turned 'media' into an
additional source parameter.
On 11/20/2015 06:33 PM, Bob Holtzman wrote:
> On Wed, Nov 18, 2015 at 07:22:12PM -0500, Ke
On Wed, Nov 18, 2015 at 07:22:12PM -0500, Kevin Korb wrote:
> Note the lack of a space here: --exclude '/tmp'--exclude
>
> Also, just use / for the source instead of /.
>
> Also, don't use -z on a local copy.
Many thanks for the reply/solution. I've looked at the command 10-12
times and missed t
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Note the lack of a space here: --exclude '/tmp'--exclude
Also, just use / for the source instead of /.
Also, don't use -z on a local copy.
On 11/18/2015 06:19 PM, Bob Holtzman wrote:
> Running debian wheezy w/ rsync 3.0.9-4. The command in question
On 5/16/2013 2:38 AM, Paul Slootman wrote:
On Wed 15 May 2013, Brian K. White wrote:
I did in the case when it was only one pattern, but that was just a
simplified example.
The actual job involves too many include and exclude patterns to use
--include & --exclude, or even --include-from and --
On Wed 15 May 2013, Brian K. White wrote:
> I did in the case when it was only one pattern, but that was just a
> simplified example.
>
> The actual job involves too many include and exclude patterns to use
> --include & --exclude, or even --include-from and --exclude-from,
> because the patterns
On 5/15/2013 8:35 AM, Paul Slootman wrote:
On Wed 15 May 2013, Brian K. White wrote:
rsync -avz /foo/ ${DEST}::root/foo/
This syntax does work in his case, and is easier to read, because it
ends up using the exact same specification "/foo/" and "/foo/" for
both source and dest, but the syntax
On Wed 15 May 2013, Brian K. White wrote:
> > rsync -avz /foo/ ${DEST}::root/foo/
>
> This syntax does work in his case, and is easier to read, because it
> ends up using the exact same specification "/foo/" and "/foo/" for
> both source and dest, but the syntax I had was also correct. I no
> lon
On 5/15/2013 5:17 AM, Paul Slootman wrote:
On Wed 15 May 2013, Brian K. White wrote:
Consider the following directory structure
/foo/aaa/*/*
/foo/bbb/*/*
/foo/ccc/*/*
I want to sync all of /foo,
but exclude /foo/aaa
rsync -avz /foo ${DEST}::root
Firstly, I always recommend that with dire
On Wed 15 May 2013, Brian K. White wrote:
> Consider the following directory structure
>
> /foo/aaa/*/*
> /foo/bbb/*/*
> /foo/ccc/*/*
>
> I want to sync all of /foo,
> but exclude /foo/aaa
> rsync -avz /foo ${DEST}::root
Firstly, I always recommend that with directory transfers you add a
trail
On 5/15/2013 4:13 AM, Brian K. White wrote:
Consider the following directory structure
/foo/aaa/*/*
/foo/bbb/*/*
/foo/ccc/*/*
I want to sync all of /foo,
but exclude /foo/aaa
but not exclude any other occurances of "aaa" or "foo/aaa" (be they
files or dirs) that might occur within the other dir
On 15.05.2013 04:13, Brian K. White wrote:
> How can I get it to exclude just the top-level directory "/foo/aaa" ?
With a '/' at the beginning you pin the pattern to the beginning.
You don't use "/" at the end of directory names, so i'm not sure if the
correct one is:
/aaa
or
/foo/aaa
With a '/'
Go to the win 7 machine. Enter that directory using the explorer. In the
upper bar where you can see the path, click the empty white space right
from the path.
My machine: explorer shows ">Username>Eigene Musik". Clicking the empty
space shows the real path: C:\Users\Username\Music
Second way: S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
My suspicion is that those are not sub directories but shortcuts or
some other Windows magic similar to ~/.gvfs in some Linux systems.
Take off the trailing / and it should work.
On 04/30/12 20:38, Daniel Feenberg wrote:
> We have been using rsync for
On Sat, 20 Aug 2011, Ken Gillett wrote:
OK, thanks for that. For some reason that escapes me now, I was sure
that [--exclude '.*'] caused problems.
I'll have a go with just '.*'.
My guess is that you were once trying to sync a directory containing
hidden (dot) directories. So, e.g.:
$ tr
OK, thanks for that. For some reason that escapes me now, I was sure that it
caused problems.
I'll have a go with just '.*'.
On 20 Aug 2011, at 09:38, francis.montag...@inria.fr wrote:
>
> On Fri, 19 Aug 2011 12:47:34 +0200 Ken Gillett wrote:
>
>> I want to exclude from the sync ALL files t
On Fri, 19 Aug 2011 12:47:34 +0200 Ken Gillett wrote:
> I want to exclude from the sync ALL files that start with a dot, IOW
> hidden files. But using --exclude '.*' does funny things with
> directories (or at least I think it does). Is there a recognised
> correct way to do this?
Using --exclud
On Fri, Aug 19, 2011 at 5:47 PM, Ken Gillett wrote:
> I want to exclude from the sync ALL files that start with a dot, IOW hidden
> files. But using --exclude '.*' does funny things with directories (or at
> least I think it does). Is there a recognised correct way to do this?
>
> I thought --ex
On Thu, Apr 22, 2010 at 9:04 AM, Wolter, John D. (GRC-RTE0) <
john.d.wol...@nasa.gov> wrote:
> This doesn't work (it only syncs the directory file named gale):
> + /gale
> + /gale/solver-alpha
> + /gale/solver-alpha/**
> - *
>
That should work fine, and is unlikely to be an rsync bug. I'd imagi
On Wed, 2009-10-21 at 17:50 +0800, Thomas Gutzler wrote:
> is there a way to exclude files from being backed up when running rsync -b?
No. --backup is one of many rsync options for which per-file settings
might be useful but are not currently supported.
--
Matt
--
Please use reply-all for mos
On Sat, 2009-10-03 at 22:06 -0700, Jeffrey Ellis wrote:
> Hm. I've tried all of the following:
>
> rsync -avve ssh --numeric-ids --delete --ignore-errors -R
> myu...@myisp.com:/usr/home/./myuser
> myu...@myisp.com:/usr/home/./myuser/mail_boxes/
> myu...@myisp.com:/usr/home/./myuser/public_html/ /V
On Sat, 2009-10-03 at 21:03 -0700, J. Ellis wrote:
> So let me see if I understand correctly. First, are the \ characters
> followed by a return, or are they all on a single line? In other words, is
> this entered in the terminal as one command, or does it need to be broken up
> somehow?
The \ is
Hi, Matt--
Wow. This looks great.
So let me see if I understand correctly. First, are the \ characters
followed by a return, or are they all on a single line? In other words, is
this entered in the terminal as one command, or does it need to be broken up
somehow?
And then each of the symlinks fo
On Sat, 2009-10-03 at 15:47 -0700, J. Ellis wrote:
> I have the following 3 commands which are supposed to run every night
> to back up my web server:
>
> rsync -avve ssh --numeric-ids --delete --ignore-errors
> myu...@myisp.com:/usr/home/myuser /Volumes/Downloads
> rsync -avve ssh --copy-links --
On 11Mar2009 01:52, Matt McCutchen wrote:
| On Wed, 2009-03-11 at 16:13 +1100, Cameron Simpson wrote:
| > I know this may seem nonsensical, but I wanted to issue an rsync
| > invocation that synced nothing at all. (I wanted to avoid a sync by
| > fiddling a config file in some automation rather th
On Wed, 2009-03-11 at 16:13 +1100, Cameron Simpson wrote:
> I know this may seem nonsensical, but I wanted to issue an rsync
> invocation that synced nothing at all. (I wanted to avoid a sync by
> fiddling a config file in some automation rather than changing to
> auomation to have a skip-the-rsync
On Mon, 2009-03-02 at 14:38 +0100, m...@bortal.de wrote:
> is there a way to exclude all kind of files (but no folders)?
--include='*/' --exclude='*'
--
Matt
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/m
On Wed, 2009-01-28 at 01:58 -0800, Martin Scharrer wrote:
> I'm using rsync to transfer some files from host A to B and using
> --remove-source-files to remove them from A after the transfer. Now however
> I have one file 'md5sum' which should be transfered but not removed. I tried
> the protect fi
Matthew Monaco wrote:
What is the difference between exclude and hide in the filter rules?
Normally, 'hide' is interpreted only by the sender and the files will
never show up in the file list sent to the receiver. 'Exclude' is both
'hide' (sender) and 'protect' (receiver) - so files that will
On Mon, 2008-06-16 at 10:09 +0200, Philippe Niquille wrote:
> I am using the default rsync 2.6.3 on OS X 10.5.3 and having issues
> with my exclude options. I want to exclude a directory which has
> whitespace in its name e.g. "My Directory" by adding --exclude="My
> Directory" as a relative
On Jan 30, 2008, at 11:03 PM, Anthony Morton wrote:
I have a similar problem. I'm trying to specify a custom per-
directory filter using
--filter='dir-merge .rsync-filter-m'
but because the whole thing is double-quoted the filter rule
arrives in single quotes. I can't simply leav
I have a similar problem. I'm trying to specify a custom per-
directory filter using
--filter='dir-merge .rsync-filter-m'
but because the whole thing is double-quoted the filter rule
arrives in single quotes. I can't simply leave out the quotes here
because the --filter option onl
The shell does not strip the single quotes because they are inside
double quotes. Thus, rsync is getting filter patterns containing
single quotes, which would obviously prevent the filters from
matching.
You can just remove the single quotes, but then the shell will try
to expand the wildca
On Thu, 2008-01-31 at 15:30 +1100, Anthony Morton wrote:
> >> The shell does not strip the single quotes because they are inside
> >> double quotes. Thus, rsync is getting filter patterns containing
> >> single quotes, which would obviously prevent the filters from
> >> matching.
> >> You can
Matt McCutchen wrote:
On Mon, 2008-01-28 at 15:00 -0800, Randy Dunlap wrote:
Sorry about the missing information. Here's the script,
which still isn't working.
Any help/suggestions would be wonderful.
---
~Randy
#! /bin/sh
# rsync /test/runs/ to $server:~rdunlap/pub/kerneltest/reports/r
On Mon, 2008-01-28 at 15:00 -0800, Randy Dunlap wrote:
> Sorry about the missing information. Here's the script,
> which still isn't working.
>
> Any help/suggestions would be wonderful.
> ---
> ~Randy
>
>
> #! /bin/sh
> # rsync /test/runs/ to $server:~rdunlap/pub/kerneltest/reports/runs/
>
>
On Sat, 26 Jan 2008 10:27:03 -0800 Wayne Davison wrote:
> On Fri, Jan 25, 2008 at 06:02:07PM -0800, Randy Dunlap wrote:
> > rsync --include='/test/runs/***' \
> > --exclude='--exclude=/test/runs/? --exclude=/test/runs/??
> > --exclude=/test/runs/??? --exclude=/test/runs/1???' \
> > -avz -e ssh --
On Fri, Jan 25, 2008 at 06:02:07PM -0800, Randy Dunlap wrote:
> rsync --include='/test/runs/***' \
> --exclude='--exclude=/test/runs/? --exclude=/test/runs/??
> --exclude=/test/runs/??? --exclude=/test/runs/1???' \
> -avz -e ssh --progress --delete $srcdir $dest:$destdir/
Firstly, the weird optio
Just blowing through my email quickly, but have a thought.
I use include and exclude files rather than specifying them on the command
line. Using files, I would think that including /test/runs/2??? would work
and preclude the need for any excludes. I would think the same thing would
work on the co
On 7/12/07, Wayne Davison <[EMAIL PROTECTED]> wrote:
On Wed, Jul 11, 2007 at 06:31:59PM -0400, Warren Oates wrote:
> The exclude test fails on OS X Darwin Kernel Version 8.10.1
> RELEASE_I386. It just hangs there until CTL-C.
It could hang on other architectures too, but was sporadic. I just
ch
On Wed, Jul 11, 2007 at 06:31:59PM -0400, Warren Oates wrote:
> The exclude test fails on OS X Darwin Kernel Version 8.10.1
> RELEASE_I386. It just hangs there until CTL-C.
It could hang on other architectures too, but was sporadic. I just
checked-in a fix and released a new "nightly" tar file.
On Thu, Jul 12, 2007 at 05:18:28PM +0530, Madhavan Chari wrote:
> SOURCE1=/opt/mscdr/arb821/Server
> E1=/opt/mscdr/arb821/Server/transmissionData
As Matt mentioned, the exclude needs to not include any part of the path
that is outside of the transfer. The simple rule is that your excludes
should
Hi,
Here is my config file
HOSTTOBACKUP1=ctlrws001
SOURCE1=/opt/mscdr/arb821/Server
TARGET1=/opt/mscdr/daily.0/arb821/Server
and the my script
E1=/opt/mscdr/arb821/Server/transmissionData
E2=/opt/mscdr/arb821/Server/logs
E3=/opt/mscdr/arb821/Server/temp
E4=/opt/mscdr/arb821/Server/altavista
On Tue, Jul 10, 2007 at 03:11:05PM +0200, Giuliano Gavazzi wrote:
> In the last sentence the term "file" is used, that for consistency
> should not include directories.
There is some inconsistency in the word "file" since it includes dirs in
its generic sense, but can be used as a short-hand for
On 10 Jul 2007, at 00:18, Matt McCutchen wrote:
On 7/9/07, Giuliano Gavazzi <[EMAIL PROTECTED]> wrote:
you did not append "/" to your exclude patterns and you did not show
us the value of the SOURCE macro. Either might explain the failure.
All a trailing "/" would do is prevent the pattern
On 7/9/07, Giuliano Gavazzi <[EMAIL PROTECTED]> wrote:
On 9 Jul 2007, at 08:17, Madhavan Chari wrote:
> This is how I am trying to exclude the directories. All the
> directories have sub-directories also.
>
> E1=/opt/mscdr/arb821/Server/transmissionData
> E2=/opt/mscdr/arb821/Server/logs
> E3=/
On 9 Jul 2007, at 08:17, Madhavan Chari wrote:
This is how I am trying to exclude the directories. All the
directories have sub-directories also.
E1=/opt/mscdr/arb821/Server/transmissionData
E2=/opt/mscdr/arb821/Server/logs
E3=/opt/mscdr/arb821/Server/temp
E4=/opt/mscdr/arb821/Server/altavis
On 6/30/07, Adrian Marsh <[EMAIL PROTECTED]> wrote:
I'm trying to rsync up to some centos repositories, but I only want to
pull down the i386 and i386_64 folders with their RPMs, I've tried
various combinations and include and exclude, and I'm sure that the
below should work, but it doesn't...
S
On 6/4/07, Madhavan Chari <[EMAIL PROTECTED]> wrote:
Though I am trying to exclude the directory by giving proper syntex for
exclude but I find once the whole
rsync is completed the directory still gets copied in target location.
rsync -az -t -e ssh -vv --delete --delete-excluded
opt/mscdr/arb
This works in conjunction with the --size-only option as well. Thanks!
Robert
On Apr 30, 2007, at 2:14 PM, Wayne Davison wrote:
On Mon, Apr 30, 2007 at 12:14:41PM -0400, Robert Denton wrote:
Very often, all the files themselves will be just fine, but the
directories themselves will be list
On Mon, Apr 30, 2007 at 12:14:41PM -0400, Robert Denton wrote:
> Very often, all the files themselves will be just fine, but the
> directories themselves will be listed as needing updated.
I usually use -O (--omit-dir-times) to avoid having directories get
listed as needing to be updated (and sy
On Wed, Mar 28, 2007 at 07:19:58PM -0700, Barry Robison wrote:
> However this runs the risk of any files created locally during the
> length of the first rsync being deleted.
For a two-way sync, the "unison" tool is usually a better solution. Or,
adding a saved list a files with rsync lets the to
On Tue, Oct 24, 2006 at 11:45:04AM +0200, Fink Oliver wrote:
> what do I have to put in my "backup-excludes-file"
>
> what i woul like is:
> /data/web/backup*/
That works fine if your transfer root is "/". If it is /data, drop the
"/data" dir, if you are copying /data/web, drop both dirs, like t
relating.
THanks again
Rob
From: Wayne Davison [mailto:[EMAIL PROTECTED]
Sent: Tue 9/12/2006 6:52 PM
To: Heise, Robert
Cc: rsync@lists.samba.org
Subject: Re: Exclude usage question
On Tue, Sep 12, 2006 at 08:41:12AM -0400, Heise, Robert wrote:
> Here is the v
On Tue, Sep 12, 2006 at 08:41:12AM -0400, Heise, Robert wrote:
> Here is the verbose output while using --dry-run
I don't see anywhere in that (extraordinarily hard to read) output where
it wanted to copy any excluded files.
..wayne..
--
To unsubscribe or change options: https://lists.samba.org/
On Tue 12 Sep 2006, Heise, Robert wrote:
> Here is the verbose output while using --dry-run
>
> Processing
> ral-bea-01-l:"/usr/bin/rsync""--archive""--compress""--delete""--dry-run
> ""--group""--perms""--stats""--times""--rsh=/usr/bin/ssh -o
> StrictHostKeyChecking=no""--rsync-path=/usr/bin/rs
","Total file
size: 10384954 bytes\n","Total transferred file size: 0
bytes\n","Literal data: 0 bytes\n","Matched data: 0 bytes\n","File list
size: 1054\n","Total bytes written: 1096\n","Total bytes read:
20\n","\n",&q
On Mon, Sep 11, 2006 at 10:13:03AM -0400, Heise, Robert wrote:
> A couple of .sh scripts are still being copied out
Please cite the verbose output from rsync for those files (use -n if you
want to avoid any copying). The verbose output is the easiest way to
see the names that the exclude patterns
Your command and your exclude file are both correct. I set up a
similar scenario of pulling the root directory of a module with an
exclude file, and the excludes worked correctly for me; I don't know
why they aren't working for you. Perhaps you could upgrade rsync if
you aren't already using 2.6
On Wed, 2006-03-22 at 19:27 +0530, IMCC wrote:
>I have to take a backup of files on a drive But
>I have to exclude those file in a drive which are open.
>
>I want to know whether rsync exclude open files
>while taking backup ? .
Rsync sends all files without checking whether t
On Wed, Feb 22, 2006 at 03:18:11AM -0600, Harry Putnam wrote:
> + .kde*/share/apps/konqueror/bookmarks.xml
> /.kde**
You need to restore all the directory includes from your first email:
+ .kde*/
+ .kde*/share/
+ .kde*/share/apps/
+ .kde*/share/apps/konqueror/
+ .kde*/share/apps/konqueror/boo
Matt McCutchen <[EMAIL PROTECTED]> writes:
> On Wed, 2006-02-15 at 18:33 -0600, Harry Putnam wrote:
>> Wayne Davison <[EMAIL PROTECTED]> writes:
>> > On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
>> >> - /.kde*
>> >
>> > That doesn't exclude anything, since you already included t
On Wed, 2006-02-15 at 18:33 -0600, Harry Putnam wrote:
> Wayne Davison <[EMAIL PROTECTED]> writes:
> > On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
> >> - /.kde*
> >
> > That doesn't exclude anything, since you already included things that
> > match that. You should be using "-
Wayne Davison <[EMAIL PROTECTED]> writes:
> On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
>> - /.kde*
>
> That doesn't exclude anything, since you already included things that
> match that. You should be using "- *" to exclude everything else other
> than what was explicitly inc
On Tue, Feb 14, 2006 at 03:09:48AM -0600, Harry Putnam wrote:
> - /.kde*
That doesn't exclude anything, since you already included things that
match that. You should be using "- *" to exclude everything else other
than what was explicitly included.
..wayne..
--
To unsubscribe or change option
On Thu, Feb 09, 2006 at 05:35:11PM +1100, Craig Hammond wrote:
> I have a particular directory in my exclude list, but I want it
> excluded from --delete-excluded.
Sure, that's easy enough using filter rules. Just add a protect filter
rule to what you have now and rsync will protect any matching
On Thu, Dec 15, 2005 at 12:04:42AM -, sdr0303 wrote:
> ...inside of the local "/client/temp" directory I have serveral zip
> files but for some reason it skips them? The rsync.log, I
> get, "skipping server excluded file..." and the list of the zip
> files?
Are the zip files named with upper-
On Fri, Sep 09, 2005 at 08:33:47AM +0200, Martin Kammerlander wrote:
> If I want to exclude all directories in different locations named for
> example "binary" but not files with name "binary", which exclude
> command I have to use?
In the manpage, there is a section entitled INCLUDE/EXCLUDE PATTE
On Mon, Jun 20, 2005 at 02:48:35PM -0700, Aleksey Zakharov wrote:
> I have a directory /source/ which contains additional directories a, b, c.
> In addition /source/ directory contains some db.* files that I dont want to
> backup. The tricky part is that subdirectories /source/a, /source/b and
>
On Sun, Jun 19, 2005 at 04:28:52PM -0400, Beach Computers wrote:
> Is it possible to exclude a file type for a specific sync?
Do you mean something like --exclude="*.exe" ?
> Also, we had an issue where rsync locked mail files during copying.
> Any way to avoid it [on an MS Windows system]?
Rsyn
Dear Sir,
Subject:
Exclude file type
From:
"Beach Computers" <[EMAIL PROTECTED]>
Date:
Sun, 19 Jun 2005 16:28:52 -0400
To:
Thanks! That seems to do the job.
On Monday 21 March 2005 05:05 pm, John Van Essen wrote:
> On Mon, 21 Mar 2005, Lars Nordin <[EMAIL PROTECTED]> wrote:
> > I have looked on the mailing lists and through rsync documentation but
those
> > still haven't solved my problem. I may be calling rsync inco
On Mon, 21 Mar 2005, Lars Nordin <[EMAIL PROTECTED]> wrote:
> I have looked on the mailing lists and through rsync documentation but those
> still haven't solved my problem. I may be calling rsync incorrectly but the
> problem I have is that the exclude file seems to be ignored. My final goal is
>
On Fri, May 07, 2004 at 04:21:00PM +0200, Thorsten Schacht wrote:
> How can I exclude files that have a ~ as last character?
Use the --exclude='*~' option to rsync.
..wayne..
--
To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.
r task.
Thanks!
-Original Message-
From: Wayne Davison [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 21, 2004 5:21 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: exclude-from and include-from confusion
On Wed, Apr 21, 2004 at 04:51:57PM -0400, [EMAIL PROTECTED]
wrote:
>
On Wed, Apr 21, 2004 at 04:51:57PM -0400, [EMAIL PROTECTED] wrote:
> - Any directory or file listed in the exclude file will NOT be copied.
> - Any directory of file listed in the include file WILL be copied no matter
> what is in the exclude file.
Only if the include comes before the exclude in t
On Wed, Mar 31, 2004 at 07:55:01AM -0800, Wayne Davison wrote:
> I wonder if we should change the examples to have multiple sources?
> Perhaps this would be good:
>
> Let's say that we want to match two source files, one with an absolute
> path of "/home/me/foo/bar", and one with a path of "/home/
On Tue, Mar 30, 2004 at 09:33:26AM +0200, Francis Montagnac wrote:
> On Fri, Mar 26, 2004 at 08:55:48PM -0600, John Van Essen wrote:
> > Example cmd: rsync -a --relative /home/me /dest
> > Source root: /home
>
> I think it's instead:
>
> Source root: /
>
> Am i wrong?
I think you're right. Els
> Remember - we are talking about the transfer root, not the filesystem
> root or partition root.
Yes.
> The source transfer root is the source path with any trailing node
> removed up to the last slash.
I see, but as soon as you have more than one source argument to rsync,
except when using --
On Tue, 30 Mar 2004, Francis Montagnac <[EMAIL PROTECTED]> wrote:
>
>> Example cmd: rsync -a --relative /home/me /dest
>> Source root: /home
>
> I think it's instead:
>
> Source root: /
>
> Am i wrong?
Remember - we are talking about the transfer root, not the
filesystem root or partition root
> Example cmd: rsync -a --relative /home/me /dest
> Source root: /home
I think it's instead:
Source root: /
Am i wrong?
> Target root: /dest
> I/E pattern: /home/me/foo/bar (note full path)
> Source file: /home/me/foo/bar
> Target file: /dest/home/me/foo/bar (note full path)
--
[EMAIL P
On Sat, Mar 27, 2004 at 10:29:35AM -0800, Wayne Davison wrote:
> Thanks, I edited this down a little and included it in my suggested doc
> change (it's now in CVS).
Thanks! I think with those examples, everyone should be able to figure
out what to do.
Andrew
--
To unsubscribe or change options:
On Fri, Mar 26, 2004 at 08:55:48PM -0600, John Van Essen wrote:
> This is another opportunity to (try to) make more clear the
> effects of using a trailing slash on the source and using the
> --relative option. They not only affect the absolute-path
> pattern but also where the source file ends up
On Fri, 26 Mar 2004, Wayne Davison <[EMAIL PROTECTED]> wrote:
> On Thu, Mar 25, 2004 at 11:03:31PM -0500, Andrew Pimlott wrote:
>> The exact filename tested against include/exclude patterns is not
>> always obvious, and the documentation is somewhat ambiguous about it.
>> This bites particularly wh
On Thu, Mar 25, 2004 at 11:03:31PM -0500, Andrew Pimlott wrote:
> The exact filename tested against include/exclude patterns is not
> always obvious, and the documentation is somewhat ambiguous about it.
> This bites particularly when using patterns starting with '/'.
Yes, this could certainly use
Mindsets and assumptions are funny things. Until the light bulb went
off while reading the man page, I assumed that with a module such as:
[CADENCE]
path = /tools/cadence
that you would have to use excludes and includes to further modify
what was rsync'ed. I didn't think something like
host::CAD
cat listofwhatyouwant |while read item
do
rsync -options "$item" "destination:`dirname $item"
done
if you want each directory and below, a recursive goes into the options
(explicitely with "r" or implicitely with "a").
I used to have to do something similar to that all the time, as we were
using
On Wed, Feb 25, 2004 at 06:51:33AM -0500, Don Shesnicky wrote:
> It seems that when you exclude everything you then need to include
> file by file. Can anyone point me in the right direction?
As the docs mention, you have to include every parent directory for
every file you want to include or the
John Van Essen wrote:
rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
Since there is no trailing slash on '/home/user', the sender root is
at '/home/', so the exclude pattern is correct in that case.
But the receiver path is '/home', so the root for building the
Wayne Davison wrote:
On Wed, Feb 25, 2004 at 02:32:47PM +1100, andrew wrote:
rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
This works as I expect, sender:/home/user/profile/ is not copied, except
that receiver:/home/user/profile/ is deleted.
I can't duplica
On Thu, 26 Feb 2004, andrew <[EMAIL PROTECTED]> wrote:
>
> Paul Slootman wrote:
>> On Wed 25 Feb 2004, andrew wrote:
>>
>>>rsync -av --exclude "/user/profile/" --delete /home/user [EMAIL PROTECTED]:/home
>>>
>>>This works as I expect, sender:/home/user/profile/ is not copied, except
>>>that recei
1 - 100 of 156 matches
Mail list logo