Displaying 20 results from an estimated 7000 matches similar to: "pulling selected subdirs by wildcard"
2009 Jul 13
1
are new directories created inside the partial dir?
When --partial-dir is used rsync creates new or updated files inside a
temporary dir. For example the new version of some/path/file is
created in some/path/<partial-dir-name>/file and later moved.
What happens if a new directory is created? If
some/path/newdir/newfile is to be copied, is it done in
some/path/<partial-dir-name>/newdir/<partial-dir-name>/newfile? Or is
newdir
2001 Nov 16
1
include/exclude directory question
I want to send a subset of directories sepcified in "include" arguments
to a client, but I am creating all the
peer and parent directories as well, although they are empty - here is
basically what I'm doing.
assuming I have /staging/upgrade/dir1, /staging/upgrade/dir2 and
/staging/upgrade/dir3 on the source tree.
--include "*/" -include upgrade/dir1/** -include
2012 Jul 27
1
Rsync like Time Machine
I've been very interested in these discussions and uses of rsync as a
"clone" of Time Machine. A couple of things have been keeping me from a
fully automated solution. I'd like to eliminate the need for Samba/NFS
mounts of any kind, because they have proven to be unreliable for me and
under some operating environments (Cygwin) it breaks --link-dest. In most
of the articles
2004 Jul 16
1
(PR#7100) and #7102: list.files fails with all.files = TRUE
rpeng@jhsph.edu wrote:
> I get different behavior on Linux:
>
> system("mkdir newdir")
> dir("newdir", all.files = TRUE, recursive = TRUE) ## R hangs
The point is that all.files=TRUE implies returning also "." and ".."!
Hence the recursion uses to be infinite (from "." to "." to "." ......).
If recursiv = TRUE,
2010 May 05
2
[Bug 1767] New: Inconsistend wildcard expansion in 'ls *'
https://bugzilla.mindrot.org/show_bug.cgi?id=1767
Summary: Inconsistend wildcard expansion in 'ls *'
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
AssignedTo: unassigned-bugs at mindrot.org
2007 Nov 21
2
Access control question.
Hello,
I have a general administrative question concerning Samba shares.
I have a large amount of data that about 25 users have limited access to. I
only want these users to have access to a sub-set of this data, but I also
only want the users to see that which they have access to.
So, for example, suppose that the share looks like thus:
/smbshare
/smbshare/dir1
/smbshare/dir2
2012 Feb 26
2
Help needed! Error in setwd(newdir) : cannot change working directory
Hi Guys,
I am new to R and just trying to write a small script to automate a couple commands. But I run into the setwd(): cannot change working directory.
I googled a little bit and tried all fixes/suggestions with no success.
Basically I have a script that works from inside a directory with my data (/home/sean/Rtest/Data01). Now I want to modify the script to make it run from the upper directory
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
2005 Apr 10
1
PATCH: cosmetic fix to output with --existing -vv
Currently, rsync --delete -avvn test1/ test2/ --existing
will give output such as:
not creating new file "newdir"
not creating new file "newdir/newfile"
not creating new file "newdir/subdir"
It would make more sense if it said:
not creating new directory "newdir"
not creating new file "newdir/newfile"
not creating new directory
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
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
2019 Jul 16
4
Syncing Sysvol
Hi, in this thread:
https://lists.samba.org/archive/samba/2019-July/224365.html
Joachim Lindenberg reminded me that he was using smbclient to sync Sysvol.
He posted (in the link above) a link to his original post:
https://lists.samba.org/archive/samba/2019-July/224346.html
Here he posted a copy of his script. I personally would never have
thought about using smbclient, but it just goes to
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.
2010 Jun 11
1
removing a non empty directory
I'd like to remove automatically a directory that may be non empty.
I tried:
> file.remove(NewDir, recursive=TRUE)
[1] FALSE
Warning message:
In file.remove(NewDir, recursive = TRUE) :
cannot remove file 'Prostate_Validated_mirWalk', reason 'Directory not empty'
Is there another command to remove entire directories including their contents ?
Thank you.
Maura
tutti i
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,