Displaying 20 results from an estimated 6000 matches similar to: "delete exclusion"
2003 Jun 25
1
Status of --files-from flag
I noticed some discussion from a while back of adding a
--files-from flag to rsync that would allow an explicit
file list to be fed to rsync as to what files it should
check. What is the status of that discussion?
If I try to specifiy a file list with --include-from
that is about 100,000 files long, the execution time
goes up to about 20 minutes or more, compared with a
couple of seconds to just
2003 Mar 07
3
Questions about exclude-file
Is there anyway to keep rsync from reporting an error when attempting to
sync pagefile.sys (through a samba share)? It seems like any type of
exclusion of the file gets ignored, why is that? Anyway around it?
Also, of experimented with the exclude-from syntax quite a bit and
haven't figure out how you could just backup all .doc files on a file
system and exclude everything else.
Thanks - Max
2002 Nov 13
2
--delete-excluded not working on local rsync
I am using the following command and the excluded
directory /usr/share/doc/ still appears with all it's contents in the
backup directory when it's contents should be deleted. Is this a bug
or am I doing something wrong?
rsync --delete --delete-excluded -a -R --exclude="/proc/*" --exclude="/dev/*"
--exclude="/usr/share/doc/*" --exclude="/backup*"
2002 Sep 09
4
Hardware - no way -Re: Crashes maybe due to: "error writing 4 unbuffered bytes"
Dear JW,
I spent hours checking and upgrading my hardware. There is nothing wrong
with it. It is a 'mature' Pentium-II 400MHz system that has been running my
servers WITHOUT ANY CRASHES for nearly 2 years now 24/7
Listen to me: "The crashes are dues to rsync"
There is an IDENTICAL report from a totally different source at
2003 May 06
2
Recursive ssh
Hi all, I want to copy files from a remote server to a local directory with ssh. I've some difficulties with that because on the Remoteserver I have a directory "/www/ftp" with a lot of subdirectories with each of them 4 other subdirectories. I want to sync only */data/* to the local machine without */images/* or */doc/* or */movies/* Any solution would be appreciated. regardsMac
2011 Jan 28
2
(no subject)
Hello,
I have a data set with each column containing data like this:
row column1
1 1.2
2 NA
3 NA
4 3
5 5
6 NA
7 1.5
8 NA
9 NA
10 NA
11 3
12 NA
13 3
14 NA
15 NA
16 NA
17 NA
18 3
19 1.2
20 NA
>From this I would like to extract the sequence containing at least three rows of 3 in a row (exlcuding NAs). I would also like to have the row numbers showing the place of the last
2004 Jan 19
3
Improving name-truncation detection
I've got a patch that changes f_name_to() to return an unsigned int
(like snprintf() and strlcpy() do) and adds checking to ensure that we
didn't overflow the name before we try to use it:
http://www.blorf.net/name-overflow.patch
If anyone would care to check out the following patch before I commit
it, please do.
..wayne..
2003 Oct 03
5
Backing up laptops on network
Hi all,
We are currently looking at a solution for backing up files on laptops
to a server in a small office (10 users).
I was looking at rsync as a solution. Here is my suggested solution:
Install rsync on network server - this is Windows 2000 :-(
Share the root of C:\ on laptops
Schedule rsync to periodically mount to laptops share ove SMB (if they
can be found) and running an incremental
2003 Feb 18
2
Include files though directory excluded
Hi,
I got a little question on the rsync-option include/exclude:
I excluded all hidden files in my home-directory but I want two files to be
included. I used following command:
gregor@notebook:~> rsync -avzuPn -e ssh --exclude=.* --exclude=*
--include=.kderc --include=.gaimrc /home/gregor/ 192.168.0.1:/home/gregor/
building file list ...
1 file to consider
wrote 69 bytes read 20 bytes
2015 May 21
3
Bash-Completion for samba-tool
Hey list,
arriving home from SambaXP, it was really nice. That darth vader cake was
super sweet :-)
Hearing some people talking about how much they'd like bash completion
for `samba-tool`, I've put together an ugly script that does that.
It's a very dumb script (I'm boldly calling it script), but it might make
someones day a little bit easier.
2002 Nov 04
4
making --exclude-from=- read from stdin
--- exclude.c.org 2002-11-04 04:17:05.000000000 +0100
+++ exclude.c 2002-11-04 04:21:13.000000000 +0100
@@ -219,8 +219,15 @@
int fatal, int include)
{
struct exclude_struct **list=list1;
- FILE *f = fopen(fname,"r");
+ FILE *f;
char line[MAXPATHLEN];
+
+ if( fname[0]=='-' &&
2003 Oct 06
2
Patch to revive tmpfiles
This is a patch to fix one annoyance of having rsync processes race:
I usually keep our servers synced with the following script, run by cron.
#!/bin/sh
lockfile -r 2 -l 1000 /tmp/synchome.lock || exit 1
rsync -e ssh -avHP --delete zorro01:/home/\* /home >/dev/null
rm -f /tmp/synchome.lock
--
Sometimes my users (including myself) are in a hurry and syncronise files and directories in their
2012 Jun 18
3
change UID+GID on target system?
Hello
I googled about my problem and found some hints but not a
complete solution.
Situation:
On laptop 1, I am user oub (uid=1000) and in the sudo list.
I connect an USB drive (jfs file system), its get automatically
mounted with the correct uid.
I copy files with rsync from laptop 1 to the USB.
( rsync -auvz --progress /home/oub/files /media/usb )
However:
On laptop 2, I am user oub
2014 Sep 20
2
Nut 2.7.2 on OpenBSD 5.6 with APC USB UPS
* Charles Lepple <clepple at gmail.com> [2014-09-20 01:12]:
> On Sep 19, 2014, at 5:18 PM, Stan Gammons <sg063015 at gmail.com> wrote:
> > Looks like this patch fixed the problem. I see the status change now.
> Good to hear.
> I'm not familiar with the OpenBSD release process. Is that patch on track to be a part of the final 5.6 release?
no, 5.6 is already cut.
2003 Oct 12
7
rsync.h always including syslog.h even when not used.
Hello,
rsync.h is always including the syslog.h file, even though it is only
used when the LOG_DAEMON macro is defined.
Could someone change it to be as follows:
#ifdef LOG_DAEMON
#include <syslog.h>
#endif
OpenVMS currently does not have a syslog facility, so it does not have a
syslog.h.
Thank you,
-John
wb8tyw@qsl.net
Personal Opinion Only
2003 Aug 21
2
rsync on aix fails on large files bigger than 2gb
I am using AIX 4.3.3 and 5.1, rsync version 2.5.5
protocol version 26
when rsyncing files that are larger than 2gb it dies.
You get message about broken something.
root limits is -1
filesystems are large file enabled.
I tested this with linux to linux and it does not have
this problem.
any reason why it does not work in AIX?
__________________________________
Do you Yahoo!?
Yahoo!
2003 Mar 18
2
rsync over nfs
> Hello,
> I have rsync process which is a crontab job:
> 0 0-23 * * * /bin/rsync -rvg /net/server1/local/filesys1/userhomedir/project_dir /local/filesys1/userhomedir/project_dir
> which sync the user project dir on localsystem from another machine called server1 via nfs, but the weird thing its coping all files every time it syncs am I using the wrong flags? is it possible to copy
2003 Mar 16
2
> 2GB files on solaris with largefiles enabled!
Hello,
I'm facing a problem syncing files which is over 2GB size, eventhough i searched the archives and it been mentioned its possible if largefiles option is enabled, but still its giving me problems. i.e:
building file list ... readlink dir1/oracle_data1.tar: Value too large for defined data type
readlink dir1/oracle_data2.tar: Value too large for defined data type
readlink
2002 Sep 13
4
logging on client side on NT
Hi,
I would like to log whatever happens with rsync on client side when it runs
with Cygwin on NT4.
First, I just did a redirect of the screen output to a log-file:
rsync -rtv --delete --modify-window=2 --stats /cygdrive/g/users/bco/test/
bee2bs01::d/test/ >>c:\rsync\log\%FDATE%.log
The problem with this method is that it does not redirect whatever Rsync
reports as errors; because they