search for: dir2

Displaying 20 results from an estimated 239 matches for "dir2".

Did you mean: dir
2018 Aug 21
2
[Bug 13587] New: Add a --dry-run way to show destination for each item
...mponent: core Assignee: wayned at samba.org Reporter: jidanni at jidanni.org QA Contact: rsync-qa at samba.org User very much wants to know where the files _will go_ before daring to try an actual run. He tries even rsync -vv --dry-run --itemize-changes -avz x.y.z:dir1/dir2/backup/ backup/ but still there is no way to make it say File x.y.z:dir1/dir2/backup/F1 will be copied to backup/F1 File x.y.z:dir1/dir2/backup/F2 will be copied to backup/F2 -- You are receiving this mail because: You are the QA Contact for the bug.
2005 Jan 19
4
How to replace slashes with back slashes
...ths into a simple text file that will be read by some other software we use. Unfortunately, it can only handle file paths with back slashes (MS Windows convention), and from R, I get file paths with forward slashes. The following didn't work. > gsub('/', '\\', 'c:/dir1/dir2/file.ext') [1] "c:dir1dir2file.ext" > gsub('/', '\\\\', 'c:/dir1/dir2/file.ext') [1] "c:\\dir1\\dir2\\file.ext" I have tried to find an answer on R-help, but didn't ;-( Thanks for helping me, Kind regards, J?rg Dr. J?rg Klausen...
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 file to dir2. Then, of course, it cancelles the transfer because dir1 is not a regulary file. #building file list ... #[se...
2002 Sep 17
0
Bug Report rsync 2.5.5 --delete and soft links to parent directories causes MAXSYMLINKS error
...following shows how to reproduce the error. Provide a soft link that refers to a parent directory. %> /bin/ls -lR /tmp/src /tmp/src: total 16 16 drwxrwxr-x 2 wke sys_admin 239 Sep 17 16:18 dir1/ /tmp/src/dir1: total 32 16 lrwxrwxrwx 1 wke sys_admin 2 Sep 17 16:17 dir2 -> ../ The command rsync -Pva --copy-unsafe-links /tmp/src/ /tmp/dst works as expected. When the --delete option is specified and the destination dir is a copy of the source dir, the command fails. %> rsync -Pva --delete --copy-unsafe-links /tmp/src/ /tmp/dst building file list ... 3 fil...
2007 Nov 19
1
rsync-ing from two locations with same filenames (at different versions)
...ew/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 OK and consistently. However, the following case fails: mkdir -p full/dir1 mkdir -p full/dir2 mkdir -p new/dir1 # also, is there a way to ask rsync to ignore this location if it doesn't exist? mkdir -p new/dir2 echo "a" > full/dir1/a.txt echo "b1" > full/dir1/b.txt echo "c" > full/dir1/a.txt echo "d" > full/dir2/a.txt echo "b2&qu...
2007 Dec 28
1
Odd behavior with --detect-renamed
...ename a directory, for example), the file isn't detected as renamed. However, if I manually create the new directory on the target-side, the file is correctly detected as a rename, and isn't transfered over the network. Here I've moved 'file' into a newly created directory 'dir2', which isn't available on the target-side. > $ find src > src > src/dir1 > src/dir1/dir2 > src/dir1/dir2/file > > $ find dst > dst > dst/dir1 > dst/dir1/file > > $ rsync -avv --detect-renamed -e ssh src/dir1 localhost:dst > [...] > total: matches=...
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 --ba...
2014 Mar 26
1
How would I make dir2 a copy of dir1 w/hardlinks for the files?
...o that file: Ishtar:/tmp> ll dir total 0 drwxrwxr-x 2 20 Mar 26 10:51 a/ drwxrwxr-x 2 17 Mar 26 10:49 b/ Ishtar:/tmp> ll dir/{a,b} dir/a: total 0 lrwxrwxrwx 1 9 Mar 26 10:51 symfile -> ../b/file dir/b: total 0 -rw-rw-r-- 1 0 Mar 26 10:49 file --- What I want is to create a new dir, 'dir2/' with 'file' being hardlink'ed between the two (since it's identical). I am not seeing how one would do this in rsync? I keep ending up with 'file' being a separate copy in dir2... Can rsync do this?
2013 Dec 02
2
symlink in -R src_dirlist and real dirs on target
...have constant directory names on target. How can I achieve that? I thought -k (--copy-dirlinks) would work but this replaces ALL symlinks to dirs which exist in the copied tree to real directories. I just want to have the "symlink dir conversion" done on the starting directories dir1 and dir2 cd /tmp/backup rsync -RaH --copy-dirlinks --stats --delete --progress dir1 dir2 dest/ dir1 and dir2 are symlinks to directories which contents have to be mirrored I want to have real directories dest/dir1 and dest/dir2 after rsyncing and not only the symlink copied. Using -k (--copy-dirlink...
2004 Feb 06
3
Please help : Strange 'file has vanished' behaviour with rsync on windows.
Please help : Strange 'file has vanished' behaviour with rsync on windows. I need to run rsync on windows and sync shares thru UNC names. When I try : rsync -e ssh -av //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/. rsync does a copy but says "file has vanished" for every file. Then when I run: rsync -e ssh -av --dry-run //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/. it shows me all the files-- indicating that all are out of sync. I need to encode logic to transfer only when needed, and this is...
2018 May 15
2
New 3.12.7 possible split-brain on replica 3
Thank you Ravi for your fast answer. As requested you will find below the "stat" and "getfattr" of one of the files and its parent directory from all three nodes of my cluster. NODE 1: File: ?/data/myvolume-private/brick/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/OC_DEFAULT_MODULE/filename.shareKey? Size: 0 Blocks: 38 IO Block: 131072 regular empty file Device: 23h/35d Inode: 744413 Links: 2 Access: (0644/-rw-r--r--) Uid: (20936/ UNKNOWN) Gid: (20936/ UNKNOWN) Access: 2018-05-15 08:54:20.29...
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 remote site even if dir2/dir3 doesn''t exist. Yet, when this transfer is executed un...
2008 Oct 13
1
rsync hangs during --remove-source-files
Hi, I'm using the following command to move files from a to b: rsync -avvvv --remove-source-files --ignore-existing /path/to/dir1/ /path/to/dir2 >> logfile dir2 isn't empty so I only move files from dir1 to dir2 that don't exist already. Every so often rsync stops in the middle and doesn't continue with the result that I have to kill it. The last time it happened, rsync had successfully moved 1320 files, there were 2943 f...
2014 Mar 26
1
Fwd: How would I make dir2 a copy of dir1 w/hardlinks for the files?
Kevin Korb wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > rsync not needed: cp -al dir1 dir2 > Right now, neither is 'cp' (as of V8.21 - V10 inclusive) -- "apparently" (?) in response to this article: http://danwalsh.livejournal.com/64493.html. Right now, 'cp' tries to 'hardlink' to symlinks, which AFAIR has never been an option -- any more than har...
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 , integer() , size = 2 ,...
2010 Jul 16
4
--compare-dest weirdness
...though it is ignoring the compare-dest option. it throws no error about this dir not existing, and i have tried giving it as a relative dir to the destination with same result. interestingly, i tried to see if something was wrong with my statments by doing: mkdir ~/rsynctest/dir1 mkdir ~/rsynctest/dir2 mkdir ~/rsynctest/dir3 nano ~/rsynctest/dir1/file1 (wrote the line hello world and saved) nano ~/rsynctest/dir1/file2 (wrote the line hello and saved) cp ~/rsynctest/dir1/file* ~/rsynctest/dir2/ checked md5sums of both files in both dirs to ensure they were identical the did rsync -rvu --compar...
2018 May 17
0
New 3.12.7 possible split-brain on replica 3
...018 05:26 PM, mabi wrote: > Thank you Ravi for your fast answer. As requested you will find below the "stat" and "getfattr" of one of the files and its parent directory from all three nodes of my cluster. > > NODE 1: > > File: ?/data/myvolume-private/brick/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/OC_DEFAULT_MODULE/filename.shareKey? > Size: 0 Blocks: 38 IO Block: 131072 regular empty file > Device: 23h/35d Inode: 744413 Links: 2 > Access: (0644/-rw-r--r--) Uid: (20936/ UNKNOWN) Gid: (20936/ UNKNOWN) > Access: 2...
2012 Apr 04
1
An alternative behavior for symlink
...t but I can't find any suitable solution or advice, so I'm asking you. I'm trying do find a way to sync two distant folders containing symlinks pointing to files outside the synced folders BUT with different target names. Here is an example: ./dir1: (source) file --> ../data/file ./dir2: (destination) file --> ../share/other_file The goal would be to update 'share/other_file' with the contents of 'data/file', without modifying the existing 'dir2/file' symlink. I couldn't find any combination of option (--copy-unsafe-links, -l, -L, etc.): either ...
2011 Feb 13
2
merge/mix or replace two audio streams
...AN radio). Once in a while I'd like this stream to be interrupted by short announcements (PA system). Input for these announcements can be from another source (IceS, MPD, Asterisk call). Anyway, to make things simple: I'd have dir1 with ogg music files for "normal" streaming and dir2 with ogg files for "announcements". If I have both sources defined, can I *automatically* move listeners to the "announcements" and back to the main stream when all ogg files in dir2 have been played? If so, how can I trigger it? Or, can I merge/mix "announcements" s...
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 suggested i do a loop something like this, for i in "/dir1/ /dir2/ /dir3/"; do rsync -av...