Displaying 20 results from an estimated 536 matches for "file2".
Did you mean:
file
2008 Dec 16
2
Syncing file with reference to another one
I have the following situation: file2 on remote host and file1 on
localhost. file1 and file2 are mostly the same. Simply running
rsync remotehost:file2 file2
will actually transfer the entire file. But I would like to use the
factt that I have local file1 that is mostly similar to file2. I.e.
how can I make rsync to use file1 as a ref...
2015 Sep 03
1
Doubts on incremental backup and command repetition
Hi,
I am trying to use rsync for incremental backup and I am facing some issues. I would like to ask your help to understand what is going on and have the proper command line.
1) my goal is
I the following folders:
./dest:
file3.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
And I would like to have as incremental backup
./dest:
backup file1.txt file2.txt file3.txt
./dest/backup:file1.txt file10.txt file2.txt file20.txt
./orig:
file1.txt file10.txt file2.txt file20.txt
However, I got the following. Also, if I repeat the command,...
2011 Jul 19
1
list.files recursively to find files in a specific way...
Hi, all:
My folders are organized in such a way:
root
----branch1
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt
-----------------------file2.txt
----branch2
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt
-----------------------file2.txt
...
----branch100
-------------...
2012 Mar 16
1
R merge two dataframes with different row?
Hi everyone,
I have a question for R code to merge.
Say I have two dataframes:
File1 is:
V1 V2 V3 V4
1 100 101 name1
2 200 201 name2
2 300 301 name3
3 400 401 name4
3 500 501 name5
4 600 601 name6
4 700 701 name7
File2 is:
V1 V2 V3 V4
1 50 55 p1
3 402 449 p2
4 550 650 p3
4 651 660 p4
2 150 250 p5
2 250 350 p6
3 450 499 p7
2 100 250 p8
I hope to have the merged file3 meet the following three criteria:
(1) File1$V1==File2$V1, and
(2)...
2010 Jan 29
2
[LLVMdev] Redefining function
...if it has one) in the mailing
list or the source code. The problem is: how can I redefine a function
that's been called already by some other function?
Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I think
it could be clang instead).
File1.c:
void do_print() { print(); }
File2.c:
void print() { printf("File2.c\n"); }
File3.c:
void print() { printf("File3.c\n"); }
Then, I have the main file compiled to executable like this:
int main() {
// initialize and get context (not shown)
Module *file1(LoadFile("file1.bc",Context));
Module *file...
2009 Mar 11
2
chown failure on a samba share
...is working as designed or a samba bug?
I am trying to chown ownership of a file in a samba share and it
results in an error.
cifstest6:~ # smbclient //cifstest8/smb8 -U root
Enter root's password:
Domain=[CIFSTEST8] OS=[Unix] Server=[Samba 3.4.0-GIT-e6a5f11-devel]
smb: \> chown 65534 65534 file2
NT_STATUS_ACCESS_DENIED chown file \file2 uid=65534, gid=65534
The share is thus exported
[smb88]
path = /tmp/cifstest88
browseable = Yes
read only = No
guest ok = Yes
writable = yes
printable = yes
ls -l /tmp/cifstest8/file2
-rwxrwxrwx 1 root roo...
2010 Mar 14
3
range and intersection
Hi:
I have a two large files (over 300K lines).
file 1:
Name X
UK 199
UK 230
UK 139
......
UAE 194
UAE 94
File 2:
Name X Y
UK 140 180
UK 195 240
UK 304 340
....
I want to select X of File 1 and search if it falls in range of X and
Y of File 2 and Print only those lines of File 1 that are in range of
File 2 X and Y
How can it be done it
2013 Jul 01
1
[PATCH v2] xfstests: btrfs/316: cross-subvolume sparse copy
...UBVOL2 >> $seqres.full
+ cd /
+ rm -f $tmp.*
+}
+
+# get standard environment, filters and checks
+. ./common/rc
+. ./common/filter
+
+# real QA test starts here
+_supported_fs btrfs
+_supported_os Linux
+
+_require_scratch
+_require_cp_reflink
+
+_checksum_files() {
+ for F in file1 file2 file3
+ do
+ for D in $TESTDIR1 $SCRATCH_MNT $SUBVOL2
+ do
+ md5sum $D/$F | _filter_test_dir | _filter_scratch
+ done
+ done
+}
+
+TESTDIR1=$TEST_DIR/test-$seq-1
+TESTDIR2=$TEST_DIR/test-$seq-2
+SUBVOL1=$TEST_DIR/subvol-$seq-1
+SUBVOL2=$TEST_DIR/subvol-$seq-2
+...
2016 Jun 09
1
for loop example
> From: Indunil Jayasooriya <indunil75 at gmail.com>
> > >
> > > [root at centos67 loop]# cat file1
> > > firstname1
> > > firstname2
> > >
> > > [root at centos67 loop]# cat file2
> > > lastname1
> > > lastname2
> > >
> > > I need a OUTPUT like this
> > >
> > >
> > > *firstname1 lastname1firstname2 lastname2*
> > >
> > >
> > > But I try the below command , i get below output. what is t...
2010 Jan 30
0
[LLVMdev] Redefining function
...how can I redefine a
> function that's been called already by some other function?
why do you want to do this?
> Suppose I have 3 files, all compiled to bytecode through llvm-gcc (I
> think it could be clang instead).
>
> File1.c:
> void do_print() { print(); }
>
> File2.c:
> void print() { printf("File2.c\n"); }
>
> File3.c:
> void print() { printf("File3.c\n"); }
The solution in C is to give the version in File2 a weak linkage type,
for example using gcc's "weak" attribute. You then link all three files
together, a...
2008 Mar 02
2
DO NOT REPLY [Bug 5298] New: xattrs and acls do not work well together along with fake-super, even worse on XFS
...oczta.fm
QAContact: rsync-qa@samba.org
I may suspect there is a problem with the options: fake-super, xattrs and acls.
Let me present an example. (create a test directory and enter it as root,
configure rsyncd with the test module too)
rm -rf source
mkdir source
echo data2 > source/file2
echo data1 > source/file1
chown 1000:1000 source/file1
setfattr -n user.DOSATTRIB -v "0x30783031" source/file1
setfacl -m g:wheel:rw- source/file1
rsync $OPTS -av source/ backup::test/dest1
rsync $OPTS -av --link-dest ../dest1 source/ backup::test/dest2
------------------------------...
2012 Aug 15
2
to remove columns and rows
...ing R I'm trying to identify and remove columns and rows in a data
frame that are has elements equals. For example in dataframe below. The
columns 1, 2,3,4,5 ,6 and 10 (file1) has elements equal then should be
removed. How can I ask R to remove those columns with same elements in new
dataframe (file2) to result a matrix as follows:
file1
1 0 2 2 1 1 5 1 1 1
1 0 2 2 1 1 5 1 1 1
1 0 2 2 1 2 5 2 2 1
1 0 2 2 1 1 5 1 1 1
1 0 2 2 1 0 5 0 2 1
1 0 2 2 1 1 5 1 0 1
file2
1 1 1
1 1 1
2 2 2
1 1 1
0 0 2
1 1 0
After I...
2009 Sep 15
2
Building R package with .c sub-routine files
Lets say I have two source files file1.c and file2.c
The latter just contains sub-routines to be used by the first. i.e. in file1.c I
have the line
#include "file2.c"
Let's say "R CMD SHLIB file1.c" runs perfectly and I want to include the code in
a package, "R CMD build" also runs fine but R CMD check" gi...
2009 Jan 20
2
Sweave: conflict between setwd and \SweaveOpts{prefix.string=}
Hello
I think there is a conflict between setwd() and
\SweaveOpts{prefix.string=}. In the same document, those both command
get Sweave confuse the files and directories. See:
say my .Rnw document is in File1
If one inserts some setwd() for another file:
-setwd(File2)
then the command \SweaveOpts{prefix.string=graphics/Rplots} will search
the "graphics" folder in File2 because of command setwd(File2) and not
in File1 where the .Rnw file is and as is said in Sweave Manual A10.
Hence Latex get really confused and does not work anymore: the command...
2008 Apr 23
3
[LLVMdev] Compile units in debugging intrinsics / globals
...e units. To
do that I can look at the (llvm) compile unit records but this only works
when all are defined in the same source file. If data or a function is
defined in an included file then they appear to be in a different compile
unit.
Suppose I have the following source:
file1:
#include "file2"
#include "file3"
int fn1(void) ...
file2:
int a;
file3:
int fn2(void) ...
then fn1, along with all the base types etc appear to be in compile unit
"file1", the variable a appears to be in compile unit "file2" (and there are
no basic types in file2, s...
2010 Mar 25
0
Can't access opaque symlinks pointing to another Samba mount
...en the symlink points to a file that is on a CIFS mount.
So say I have computer B (running Mac OS X) that shares something
using Samba. I mount such share on computer A, in /mnt/hdd-air.
Then, on a share of computer A, I create a symlink to a file in /mnt/hdd-air:
ln -s /mnt/hdd-air/gh/TimeMachine/file2 /mnt/hdd0/shares/TimeMachine/file2
If I mount my TimeMachine share (on computer A or any other computer),
file2 is listed, but I can't access it.
That is, it can't be accessed UNLESS the file was accessed
successfully in the last second!
Here's a test case I created on computer A:
#...
2012 Dec 03
4
How to calculate the spatial correlation of several files?
...in the 365 files as a vector of
numbers for dir1
file1 <- do.call(rbind,(lapply(.files, readBin , integer() , size =
2 ,
n = 360 * 720 , signed = T))) }
for (.files in dir2){ # read in the 365 files as a vector of
numbers for dir2
file2<- do.call(rbind,(lapply(.files, readBin , integer() , size =
2 ,
n = 360 * 720 , signed = T))) }
# Now each file in both directories is a vector. I am not sure how
to tell R to correlate the first column in dir1 to the correspond column
from dir2. we will fina...
2010 Jul 12
2
cbind in for loops
I have 30 files in the current directories, i would like to perform the
cbind(fil1,file2,file3,file4....file30)
how could i do this in a for loop:
such as:
file2 <- list.files(pattern=".out3$")
for (j in file2) {
cbind(j).......how to implement cbind here
}
Thanks.
--
View this message in context: http://r.789695.n4.nabble.com/cbind-in-for...
2011 Oct 20
3
[LLVMdev] Inlining functions
Dear LLVMers,
I am trying to use your inline pass, and I would like to know if it is
possible to remove a function from the bitcode file once it is inlined.
Basically, I try:
$> opt -inline file2.bc > file2.in.bc
and I see that all the functions have been inlined into the main
procedure, inside file2.in.bc. However, the inlined function is still in the
bitcode, even though it is unreachable from main. Is there a way to remove
this unreachable function from the bitcode file?
thank y...
2012 May 24
6
R does not recognise columns and rows as they are supposed to be
Dear All,
The code given bellow is to extract values of one region and write that to
a text file(there are 365 binary files in the directory).
The problem which I am facing is that all my files are binary with size of
360 rows and 720 columns.
I specified that in this line: file2<-matrix(data=file,ncol=720,nrow=360)
but I got an error : Error in mean(file2[X, Y], na.rm = TRUE) : subscript
out of bounds.
and then I rewrote the above line as
:file2<-matrix(data=file,ncol=360,nrow=720.I put ncol=360 and nrows =720
which is not right.But that worked and I didn't get a...