similar to: --delete ignored?

Displaying 20 results from an estimated 4000 matches similar to: "--delete ignored?"

2003 Feb 25
2
Difference in behaviour with --backup
When I do rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/dir3 machine:/dir1/dir2/dir3 I get /dir1/dir2/Backup/dir3/... /Backup/dir3/dir4/... i.e. the tree under 'dir3' (my source tree) gets created under .../Backup. This is fine. But when I do the same thing with a single file like rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/file
2003 Jan 01
1
Simulating rdist?
rsync is great for syncing 2 directory trees, but I want to maintain a master source tree on one machine and copy that to multiple machines. i.e. basically what rdist does The only way I can see of doing this with rsync is to have multiple cron jobs 0 * * * * rsync ... machine1:... 0 * * * * rsync ... machine2:... ...and so on. Is there a more elegant/compact way of doing this? Thanks
2004 Jan 12
1
Samba 2.2.8a: Deleting all files
I have a directory on Unix exposed as a Samba share. All the filenames are greater than 8.3 format. When I go to this directory from a DOS prompt and do 'del *.*', I get a bunch of errors 'Unable to find file ...'.. But, if the directory contained 500 files, after the 'del *.*' it contains 400 files. I repeat the del *.*, get a few more errors Unable to find file ...
2004 Oct 04
1
[LLVMdev] cfrontend-1.3.source: Compilation error
This is a forward of a question from the SourceForge LLVM forum. If anyone has experience with Cygwin and building the C front-end there, please reply and CC Alex. --- Post by Alex Vinokur below --- =============== Windows 2000 GNU gcc 3.3.3 (cygwin special) =============== ./configure ./make I have got compilation error ------------------------------- make[1]: Entering directory
2003 Sep 28
1
bug (filelist) for platforms solaris and darwin (macosx) and *not* linuxi386
I have found a nasty bug when a file, which is in some of many sources, shall be copied to a target. The linux-Version works well but rsync 2.5.{2|5|6} under solaris9 (gcc 2.95.3) and darwin (gcc 3.1) do not. The decision which file (out of which src) shall be copied depends on the number of src dirs given on the command line. This bug bytes us very hard, because we decided to rely on rsync
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
2003 Oct 21
2
Rsync Problem mith UNC paths
We're using rsync 2.5.6 version 26. Want to synch two W2K directories which are not on my machine (machine1 synchs machine2 -> machine3) I would like to synch the 2 direcories with the following syntax: rsync.exe -rva //remote_server1/share$/dir1/default.asp remote_server2::dir2/ When I try this it seems to work: building file list ... 1 file to consider send_files failed to open
2008 Sep 09
3
directories not correctly recognized rsync-3.0.4
Hi, I'm running rsync-3.0.4 on my UNIX system. I've just updated from rsync-2.6.9. I'm facing a general problem with the execution of files during a transfer process. The situation: 2 Directories (dir1 and dir2) on one machine with a some files in dir1 which shall be translated to dir2. rsync does not correctly recognize dir1 and dir2 as directories. It tries to transfer dir1 as a
2007 Dec 28
1
Odd behavior with --detect-renamed
Hello, I'm totally new to this list, so I hope I don't break all the rules. :) I've looked through the archives (and google), and I really can't find the answer to my question. I'm trying out the 'detect-renamed'-patch, and I've encountered some odd behavior. I've applied the patch to both rsync-2.6.9 and rsync-3.0.0pre7, and it's the same behavior.
2014 Jun 17
2
rsync specified directory(ies)
Hello, i try to copy a specified directory and the according folders and files below to a remote host. cd /dir /usr/bin/rsync -ravz -e ssh --include='*/' --include='*/00/*/*' --exclude='*' . remote_host:/tmp i want to copy in these example the directory "00" and the according folders and files below. the structure of the directory is defined by a software and
2005 Mar 31
1
exclude_dir option for VFS recycle module
Hello all, I am testing the VFS recycle module, and have a question. The module is working the way I hoped with the exception of the exclude_dir option. I have an entry like: exclude_dir = dir1 -- files I place in dir1 are not sent to the recycle location. However, if I have a folder beneath dir1 like dir1/dir2, files in dir2 get sent to the recycle location. I've tried using wildcards in
2007 Dec 09
3
OT: Rsync question
Hello All, I have an off topic question about rsync and was wondering if i can get some kind person help with it. I have two servers with each server have three same directories on them /dir1/ /dir2/ /dir3/ . How would i achieve this by using rsync? I have tried rsync -avrt --delete server_ip:/dir1/ /dir2/ /dir3/ /dir1/ /dir2/ /dir3/ this does not do anything except give errors. Someone on IRC
2018 Aug 21
2
[Bug 13587] New: Add a --dry-run way to show destination for each item
https://bugzilla.samba.org/show_bug.cgi?id=13587 Bug ID: 13587 Summary: Add a --dry-run way to show destination for each item Product: rsync Version: 3.1.2 Hardware: All OS: All Status: NEW Severity: normal Priority: P5 Component: core Assignee: wayned at samba.org
2012 Dec 03
4
How to calculate the spatial correlation of several files?
dir1 <- list.files("C:\\Users\\aalyaari\\Desktop\\cor", "*.bin", full.names = TRUE) dir2 <- list.files("C:\\Users\\aalyaari\\Desktop\\cor2", "*.bin", full.names = TRUE) results <- list() for (.files in dir1){ # read in the 365 files as a vector of numbers for dir1 file1 <- do.call(rbind,(lapply(.files, readBin ,
2007 Jul 16
2
Source inside source
Is there a way to know where is the source, so as to make a source call inside another source smarter? As an example: file1.R is in directory /files/dir1/ file2.R is in directory /files/dir1/dir2/ In file1.R, there is this line: source("dir2/file2.R") So, if I setwd to /files/dir1/, and then I call source("file1.R"), it will run correctly. However, if I setwd to /files,
2003 Nov 25
3
Need help with exclude
Hi all, I am having *massive* problems trying to exclude a single directory from an rsync. I have serv1 and serv2. I am trying to rsync /foo/test from serv1 to /foo on serv2 I want to exclude the directory /foo/test/dir1 So I try: rsync -av --exclude-from=/foo/rsync.excludes /foo/test serv2:/foo rsync.excludes contains: /foo/test/dir1/ This is not working. I also try: rsync -av
2007 Dec 06
1
Delete files using no recursion
Hi all, I'm running rsync (2.6.2) this way (which do not remove files from the destination side which were removed from the sending side): rsync -vbu --backup-dir=/bkp --stats /dir1/*.fle /dir2 I want to sync all .fle files from dir1 to the dir2 and also remove files from the destination which were removed from the sending side, using no recursion. Already tried this:
2010 Nov 11
1
NFS Mounted GlusterFS, secondary groups not working
Howdy, I have a GlusterFS 3.1 volume being mounted on a client using NFS. From the client I created a directory under the mount point and set the permissions to root:groupa 750 My user account is a member of groupa on the client, yet I am unable to list the contents of the directory: $ ls -l /gfs/dir1 ls: /gfs/dir1/: Permission denied $ ls -ld /gfs/dir1 rwxr-x--- 9 root groupa 73728 Nov 9
2004 Oct 28
1
rsync copy syntax error?
I'm doing a recurring copy from one server to another from the crontab in this fashion: rsync -av -e ssh --delete 10.0.1.18:/dir1/ /dir1 --progress &> /var/log/rsync_backup.log However, rsync is creating the dir /dir1/dir1 on the machine running this job instead of updating the /dir1 folder. According to the rsync man page, this is the correct syntax: rsync -avz foo:src/bar/
2010 Jul 16
4
--compare-dest weirdness
Hi All, I am writing a backup program for my computer. brief outline is as follows. Running ubuntu 10.04 2 main partitions, / and /home, both ext3. 1 external usb hdd, ext3, mounted to /backups/main. once every couple of days, rsync backs up, using following command, everything worth backing up in / and /home partitions to a folder /backups/main/Full. command: "rsync -vrhRupElog