Displaying 20 results from an estimated 10000 matches similar to: "Another feature proposal and implementation plan: --strip-prefix"
2005 Jul 26
1
[patch] paranoid checksum checking
The attached patch provides an additional check for the checksumming
mode to ensure that a file that is actually written out to disk can be
read back and has the same MD4 sum as the file on at the originating
location.
Regards,
Nick.
-------------- next part --------------
*** rsync-2.6.6pre1/receiver.c 2005-04-14 02:42:13.000000000 +0100
--- rsync-new/receiver.c 2005-07-26
2003 Sep 03
1
[patch] replace dir with file error
Hit the "not a regular file (recv_files)" error last night
having replaced a directory with a file.
The really dumb part is that this was hit doing a link-dest
on an empty destination so the robust_unlink would have
presented no problem anyway.
I can see no reason why non-directory special files should
have any problem being replaced so i've changed that logic too.
The new code
2005 Jan 05
1
rsync filename heuristics
On 5 Jan 2005, Rusty Russell <rusty@rustcorp.com.au> wrote:
> On Tue, 2005-01-04 at 18:24 +0100, Robert Lemmen wrote:
> > hi rusty,
> >
> > i read on some webpage about rsync and debian that you wrote a patch to
> > rsync that let's it uses heuristics when deciding which local file to
> > use. could you tell me whether this is planned to be included in
2011 Jun 25
11
[Bug 8265] New: Long paths, hardlinks, 'special' files [was: Regression: sockets for 3.0.9pre1]
https://bugzilla.samba.org/show_bug.cgi?id=8265
Summary: Long paths, hardlinks, 'special' files [was:
Regression: sockets for 3.0.9pre1]
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: All
Status: NEW
Severity: blocker
Priority: P1
Component: core
AssignedTo:
2001 Oct 08
1
Yet another batch mode question
Hello all and thanks in advance,
I know you can start R with either:
1. R CMD BATCH myfile.R
or
2. R < myfile.R
My question is this: what if I want multiple input files and/or command
line arguments. For example, under unix you can run a script command (in
a shell language, perl, or python) like:
python myScript.py
or better yet, if you have things set up right, you can place a
2003 Apr 25
2
Open an r+b file connection on Windows
I am trying to open an existing binary file, seek to a position in the
middle, and then write one byte, while keeping the already existing data
after that byte. It seems to me that I am unable to open a connection to a
binary file in both read and write mode. I can open the "r+b" binary file
connection and seek around, but I can't write to the file. And looking at
the function
2013 Jan 29
1
points rejected as lying outside the specified window
Hello,
I am using the following code to create ppp files from csv data and map shape files, but I am getting some errors which I have been unable to fix by searching them online:
library(spatstat)
library(maps)
library(maptools)
NYC2<-readShapePoly("nybb.shp") # this is a map of the NYC boroughs without waterways and no census tract divisions (but it does include lines separating
2003 Nov 10
3
Reading an upper triangular matrix
Hola!
I have data in the form of a symmetric distance matrix, in the file I
have recorded only the upper triangular part, with diagonal. The
matrix is 21x21, and the file have row and col names, and some other
information. I am trying to read with the following code (I tried
many variations on it, but all give the same error). The items in the
data file is delimited by white space.
(Part
2007 Apr 14
3
HiddenStore option may be useful
I'm missing a HiddenStore option in OpenSSH, known from some ftp-server
implementations like ProFTPd.
Consider the following scenario:
- A process PROCA is frequently polling the directory for a file called
myfile.txt
- Someone transfers this file via sftp or scp to the directory
- While transfer is going on and the file is not completely written,
PROCA reads in the file and removes is
2011 Feb 16
2
[LLVMdev] verbosity while invoking clang
I am working on implementing a new target for llvm.
So far (to make debugging easier), I was compiling a C code into 2 steps:
1) generate the llvm file:
clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll
2) generate the assembly file using
llc -march=mytarget myfile.ll
Sometimes, I add some verbosity for the 2nd command like "-print-after-all".
Now, I'd like to
2011 Feb 16
0
[LLVMdev] verbosity while invoking clang
On Feb 16, 2011, at 11:08 AM, Damien Vincent wrote:
> I am working on implementing a new target for llvm.
> So far (to make debugging easier), I was compiling a C code into 2 steps:
> 1) generate the llvm file:
> clang -ccc-host-triple mytarget -emit-llvm -S myfile.c -o myfile.ll
> 2) generate the assembly file using
> llc -march=mytarget myfile.ll
>
> Sometimes, I add
2008 Oct 03
1
Problems with Share Modes "fill_share_mode_lock failed"
Hi, my details:
Server: 3.2.3
Client: win2k8
When I try list contents of a shared directory through an ASP script
(win2k8 is the client), it's take much time and on samba I saw many
times (4 times for each file) the same error: "fill_share_mode_lock
failed"
I tried "shares mode = No" but no success
It's the log:
...:49, 3]
2009 Jun 18
1
Problem reading from a file
Hi all,
I have written a function
cluster_compare(myfile, mclfile)
I called it giving names of files in the working directory (I see them with
dir()). I get
Error in file("myfile", "r") : cannot open the connection
In addition: Warning message:
In file("myfile", "r") :
cannot open file 'myfile': No such file or directory
I tried even calling
2003 May 20
1
R in BATCH mode
Dear all,
In R<=1.6.2 I usually used the following code (in DOS prompt) to run R in
batch mode
C:\documents> Rcmd BATCH myfile.R
and I could see the results (including warning messages) in the file
myfile.Rout
In R.1.7.0 I'm experiencing the followings:
(1) even if I type "Rcmd BATCH myfile.R myfile.Rout",
no file myfile.Rout is created, but just a "&1" file
2010 Feb 19
3
ssh feature - ignore colon in host name
sorry if this has been discussed and rejected before, I'm new to the
list, I did google but didn't find anything.
--
quite often I use ssh and scp within a few minutes, so I might do this...
scp myfile user at host.example.com:
ssh user at host.example.com
it would make life a lot easier if I could type
scp myfile user at host.example.com:
ssh !$
or sometimes I simply copy
2012 Mar 06
2
closing file with close(file) *silently*
Hi All,
I am writing a function that reads a file in
myfile = file('myfile.raw', 'rb')
.
.
.
.
.
close(myfile)
No matter what, I get the warning
Warning message:
closing unused connection 3 (myfile.raw)
Since the whole thing is in a function, I'd like to avoid unecessary noise for the user, and I'd like to kill the warning -- without having to mess with global options.
2002 Aug 02
1
[patch] --link-dest
Updated to current cvs without the --exclude-from - patch.
This patch allows specifying a --link-dest path similar to
--compare-dest except that unchanged files are hard-linked to the
--link-dest path instead of producing a sparse tree.
--
________________________________________________________________
J.W. Schultz Pegasystems Technologies
email address: jw@pegasys.ws
Remember
2008 Nov 13
4
Moving a file with Puppet
I wanted to move a file from one directory to another because my co-
worker didn''t like where it was being put by puppet. I went into
puppet and changed the name parameter of the the file directive. I
then created a new file directive to delete the old file, but I was
wondering if there was a better way to do this.
So, just to clarify, I went from:
file {"myfile":
name
2005 May 19
1
Loading a dynamic library
Hi,
I'm trying to load a .dll library into R 2.1.0 on Windows using the
"dyn.load" function. The library is compiled with gcc 3.3.3 on cygwin
1.5.16.
I compile and link:
$ gcc -c myfile.cpp -o myfile.o [HRT]
$ gcc -shared myfile.o -o myfile.dll [HRT]
I then type, in the R console,
> dynload("myfile.dll")[HRT]
And R hangs.
Any help appreciated.
Thanks.
Will
2011 Jan 21
1
Reading gz compressed csv file - 'incomplete line found'
Hi all,
I am trying to download, decompress and read a csv file. My code:
myurl <-
"ftp://ftp.ncbi.nih.gov/pub/geo/DATA/supplementary/series/GSE24729/GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
myfile <- "GSE24729_MitoNuclear_suppl_male_stats.csv.gz"
#
download.file(myurl, destfile=myfile, mode="w")
#
mycon <- gzcon(gzfile(myfile,