similar to: iinclude/excludes and symbolic links

Displaying 20 results from an estimated 11000 matches similar to: "iinclude/excludes and symbolic links"

2002 Mar 20
2
Excludes not working
Hello, I'm a relative newbie to rsync, I use it to backup (mirror) a bunch of Windows boxes. I mount them using samba (to avoid having to install the cygwin version on each box) then run (using rsync 2.5.2 run from crontab) rsync -vuaz --delete-excluded --exclude-from=/root/bin/rsync.exclude \ --modify-window=2 /mnt/pc/machine/share /backup/machine/share It works like a charm, except
2005 Dec 20
4
rsync deleting symbolic link unexpectedly
I''m running 2.6.6 on a red hat EL3 system. using the following command, rsync -rlptDvzL --stats --include=a/ --include=a/dir/ --include=a/dir/symlink/ --include=a/dir/symlink/dir2/ --include=a/dir/symlink/dir2/dir3/ --exclude=''**'' /export/stuff remote::stuff I expect the "symlink" (which is really a symbolic link to a directory) to be preserved on the
2008 Mar 15
3
Incremental backups?
So I thought I'd get a head start for next week - I have a low-power Linux box that has a few samba shares mounted, and limited hard disk space. This box is connected to a tape library via SCSI card. I want to find the best way to create a full, then incremental backup of the samba mounts, directly to tape. Some of the samba mounts are appliances that cannot run any special
2004 Apr 27
0
Merging excludes using ". FILE"
As I alluded to in an earlier email on the subject of excludes, I had the idea of allowing a merge idiom (think "#include" in C) inside rsync's current exclude/include system. The idea is simple -- use the prefix ". " (dot space) in front of a filename, and that file will be incorporated into the contents of the current exclude/include rule(s). As a further feature, if the
2003 Nov 12
1
rsync directory with symbolic links
Hi all, I have a problem synching a directory that as symbolic links. The behavior is: If a symlink is relative (like ../../file) the link is copied correctly If a symlink is absolute (like /root/document) the link is copied like (root/document) whithout the first slash. By the way some link are not usable. I use rsync 2.5.5 protocol 26 and the command is rsync -varlRHpogDtxP .
2018 Sep 17
2
Very weird problem with handling symbolic links
Hi everyone, I just discovered something very weird on a vanilla CentOS 7 installation. If I create a link to /tmp as a normal user, it looks like I can't remove this link anymore. Here's what this looks like: $ mkdir test_link $ cd test_link/ $ ln -s /tmp/ link_to_tmp $ ls -l total 0 lrwxrwxrwx. 1 kikinovak kikinovak 5 Sep 17 10:56 link_to_tmp -> /tmp/ $ rm link_to_tmp/
2016 Dec 09
1
[PATCH] inspect: improve canonical_mountpoint implementation
Use a simplier version using a loop, skipping multiple '/' at once, reducing the amount of memmove and strlen needed. Updates commit 865d070ddcbb071a919614f45c8eef8fcb4497ff. --- src/inspect-fs-unix.c | 56 ++++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index
2017 May 18
1
[PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include <drm/.../*.h> This series fixes the source files, then rip off -Iinclude/drm flags. V3: rebased on commit bb2af9bda33 (drm-misc-next) Masahiro Yamada (16): drm/vc4: fix include notation and remove -Iinclude/drm flag drm/virtio: fix include notation and
2017 May 18
1
[PATCH v3 00/16] gpu/drm: remove -Iinclude/drm compiler flags from Makefile
Many Makefiles needed to add -Iinclude/drm as an include path, but the right thing to do is to include headers in the form #include <drm/.../*.h> This series fixes the source files, then rip off -Iinclude/drm flags. V3: rebased on commit bb2af9bda33 (drm-misc-next) Masahiro Yamada (16): drm/vc4: fix include notation and remove -Iinclude/drm flag drm/virtio: fix include notation and
2017 May 18
0
[PATCH v3 02/16] drm/virtio: fix include notation and remove -Iinclude/drm flag
Include <drm/*.h> instead of relative path from include/drm, then remove the -Iinclude/drm compiler flag. Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com> --- Changes in v3: None drivers/gpu/drm/virtio/Makefile | 2 -- drivers/gpu/drm/virtio/virtgpu_debugfs.c | 2 +- drivers/gpu/drm/virtio/virtgpu_drv.c | 4 ++-- drivers/gpu/drm/virtio/virtgpu_drv.h
2015 Aug 27
2
Proposed change in file.exists() to tolerate Windows
I'm writing to ask if R Core would make file.exists more Windows tolerant when the argument has a trailing slash. This has been discussed by users a few times here, I know it is not a new topic. But it is not a solved problem, yet. I acknowledge that CRAN packages exist which fix this by replacing file.exists(), but it seems more elegant to me to fix the problem in R itself. R Core goes to
2015 Mar 18
2
[PATCH] fuse: resolve absolute links to relative ones
First it strips /sysroot and then finds common prefix aligned on slashes. Next it produces ../ for each slash found in common prefix and concatenates them with the rest of resolved link. Fixes RHBZ#604041 Maros Zatko (1): fuse: resolve absolute links to relative ones src/fuse.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) -- 1.9.3
2016 Dec 06
3
[PATCH 1/2] inspect: fstab: Canonicalize paths appearing in fstab.
For example, converts "///usr//local//" -> "/usr/local". --- src/inspect-fs-unix.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/src/inspect-fs-unix.c b/src/inspect-fs-unix.c index a1a757c..0fea9c8 100644 --- a/src/inspect-fs-unix.c +++ b/src/inspect-fs-unix.c @@ -89,6 +89,7 @@ static char *resolve_fstab_device
2012 Jan 08
2
disable interpretation of trailing slash
Hello, This is a feature request for a command-line option to disable special interpretation of trailing slashes on source directories. I have been using rsync for a couple of years now (what an awesome program!) and the meaning of the trailing slash on a source is always the one aspect of its syntax that slows me down and makes me check and re-check the manual to ensure that I have remembered
2011 Oct 18
1
multiple sources and excludes
I have two folders that I need to merge onto a remote host. The sources contain conflicting files, and I'm trying to rsolve these conflicts using per-directory filter rules. However, it seems as if these rule files are merged together into one, instead of being treated separately for each directory. Is this the way it's supposed to work? For example, I have: Source A: foo1.zip foo2.zip
2003 Nov 11
1
unexpected --exclude pattern behaviours with glob wildcards
Rsync version: rsync-2.5.6-3mdk (Mandrake 9.2) I see from the CVS log that some of the following awkwardness may be fixed (or at least different) in the next public release. I'm looking forward to that. In the interim, here are some problems: --------- Problem 1 - unexpected consequence of replacing / with ** --------- The following exclude works because the explicit slash causes a match
2004 Aug 19
2
Syncing with --files-from
I want to sync files from remote to local. I have a file with all the includes on the local machine. When executing rsync with "--files-from=incfiles.txt", it fails while trying to open "incfiles.txt" on the remote machine. Is there a way to tell rsync to look for the file locally? Thanks, Dave.
2015 Mar 18
0
[PATCH] fuse: resolve absolute links to relative ones
First it strips /sysroot and then finds common prefix aligned on slashes. Next it produces ../ for each slash found in common prefix and concatenates them with the rest of resolved link. Fixes RHBZ#604041 --- src/fuse.c | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/src/fuse.c b/src/fuse.c index 3fdb1d4..6c7eee1 100644 --- a/src/fuse.c +++
2004 Jan 23
3
rsync.yo doc patch
Patch includes fixes to man page including: - Typos/Spelling - Clarity - Special characters. - Moved around text explaining example. Make sure I didn't confuse the exclude list/file paragraph (line ~961 after applying the patch), I haven't used the feature and the motive of that paragraph is a tad unclear. Hope the patch is helpful. Never had used yodl before. Thanks for rsync. /a
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
Hello, I am configuring apache 2.2 to serve my rails app through mongrel at the root of my server. First, I redirect all http traffic to https with the following: ServerName emiliano NameVirtualHost *:80 <VirtualHost *:80> RedirectPermanent / https://emiliano #this server is only accessed internally </VirtualHost> Inside the <VirtualHost *:443> section, I have the following