Displaying 20 results from an estimated 303 matches for "dir1".
Did you mean:
dir
2004 Oct 04
1
[LLVMdev] cfrontend-1.3.source: Compilation error
...th 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 `/dir1/cfrontend/src/libiberty'
make[2]: Entering directory `/dir1/cfrontend/src/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/dir1/cfrontend/src/libiberty/testsuite'
make[1]: Leaving directory `/dir1/cfrontend/src/libiberty'
make[1]: Entering...
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...
2007 Nov 19
1
rsync-ing from two locations with same filenames (at different versions)
...s, 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 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.t...
2007 Dec 28
1
Odd behavior with --detect-renamed
...lly 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=0 hash_hits=0 false_alarms=0 data=4544512
The file isn't detected as a rename.
If I...
2018 Aug 21
2
[Bug 13587] New: Add a --dry-run way to show destination for each item
...Component: 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.
2011 May 30
0
Syncing a write protected folder
Hi,
I've already asked in IRC, but i somehow can't belive this isn't
possible.
I have the folowing testcase (local, on an ext3 fs, no xattr):
.
??? [dr-xr-xr-x] dir1
??? ??? [-r--r--r--] text.txt
??? [drwxr-xr-x] target
and what i want after using 'rsync <some options> dir1 target' is:
.
??? [dr-xr-xr-x] dir1
??? ??? [-r--r--r--] text.txt
??? [drwxr-xr-x] target
??? [dr-xr-xr-x] dir1
??? [-r--r--r--] text.txt
Now i did some...
2010 Nov 11
1
NFS Mounted GlusterFS, secondary groups not working
...owdy,
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 09:44 /gfs/dir1/
$ groups
myuser groupa
I am able to list the directory as the user root. If I change the group ownership to my primary group, myuser, then I can successfully list the contents of the direct...
2005 Jan 19
4
How to replace slashes with back slashes
...le paths 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...
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 --exclude=/foo/test/dir1/ /foo/test serv2:/foo
and the exclude still does not work.
I have also tried other variations like:
rsy...
2014 Jun 17
2
rsync specified directory(ies)
...9; . 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 only directory "00" is variable.
the structure of the directories are :
000001
000001/00
000001/00/dir1
000001/00/dir1/file1
000001/00/dir1/file2
000001
000001/01
000001/01/dir1
000001/01/dir1/file1
000001/01/dir1/file2
is it possible with rsync ? i tried several options and gets no result
kind regards
______________________________________
HINWEIS:
Alle von Gesellschaften der REWE International...
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...
2002 Sep 17
0
Bug Report rsync 2.5.5 --delete and soft links to parent directories causes MAXSYMLINKS error
...of rsync 2.5.5. It has to do with
soft links and the --delete option in archive mode. The 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.
%&g...
2005 Mar 03
1
Why does "rsync -av" always claim (incorrectly?) that it is updating write protected directories?
...always claims to be updating write
protected directories, even when they have not been changed. I do not
understand why.
Here is an example using rsync version 2.6.3 on FreeBSD 5.3.
I get similar results with rsync 2.6.0 on Gentoo Linux.
--------
$ mkdir dir0
$ touch dir0/file
$ rsync -av dir0 dir1
building file list ... done
created directory dir1
dir0/
dir0/file
sent 127 bytes received 40 bytes 334.00 bytes/sec
total size is 0 speedup is 0.00
--------
So I have created dir0 and rsynced it to inside of dir1. This
is all okay.
--------
$ rsync -av dir0 dir1
building file list ... done...
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, then
call source("dir1/file1.R"), it will give...
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 rsy...
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
my smb.conf like exclude_dir = dir1/*, exclude_dir = dir1*, and other
combinations, but still ca...
2010 Jul 16
4
--compare-dest weirdness
...t rsync is behaving as 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...
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:
rsync -vbu --recursive --delete --backup-dir=/bkp --stats
--include "/dir1/" --include &q...
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 tha...
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...