Displaying 20 results from an estimated 102 matches for "path2".
Did you mean:
path
2009 Feb 12
2
[patch] hard link protocol extension for sftp
...file\n"
@@ -1111,6 +1114,7 @@ parse_args(const char **cpp, int *pflag,
}
break;
case I_RENAME:
+ case I_LINK:
case I_SYMLINK:
if (argc - optidx < 2) {
error("You must specify two paths after a %s "
@@ -1250,6 +1254,11 @@ parse_dispatch_command(struct sftp_conn
path2 = make_absolute(path2, *pwd);
err = do_rename(conn, path1, path2);
break;
+ case I_LINK:
+ path1 = make_absolute(path1, *pwd);
+ path2 = make_absolute(path2, *pwd);
+ err = do_link(conn, path1, path2);
+ break;
case I_SYMLINK:
path2 = make_absolute(path2, *pwd);
err = do_symlink(c...
2007 Aug 20
1
system() fails with fc.exe (PR#9868)
...ame from python 2.3, I get
>>> import os
>>> os.system("c:\\WINDOWS\\system32\\fc /?")
Compares two files or sets of files and displays the differences between
them
FC [/A] [/C] [/L] [/LBn] [/N] [/OFF[LINE]] [/T] [/U] [/W] [/nnnn]
[drive1:][path1]filename1 [drive2:][path2]filename2
FC /B [drive1:][path1]filename1 [drive2:][path2]filename2
/A Displays only first and last lines for each set of differences.
/B Performs a binary comparison.
/C Disregards the case of letters.
/L Compares files as ASCII text.
/LBn Sets the...
2011 Aug 23
3
R system command does not work with objects/variables
Hello!
with the R system command I would like to call a perl script which needs an
input directory and an output directory in form of a path. When I put in the
path directly it works. The script line looks as follows:
system("perl '../path1' '../path2' '../path3'")
If I store the path in a variable/object and call the perl script again it
does not run and I don't know how to overcome that issue.
p1 <- "../path1"
p2 <- "../path2"
p3 <- "../path3"
system("perl p1 p2 p3")
I...
2019 Jan 09
2
distributed thinlto usage
...will want to ensure that the final native link includes only those files selected by the linker. That is output in the file given to the "-Wl,-plugin-opt,thinlto-index-only=files.out" option. What we do is use that in combination with the '-Wl,-plugin-opt,thinlto-prefix-replace=path1;path2' option to simplify the final link invocation. Specifically, if you do something like:
"-Wl,-plugin-opt,thinlto-index-only=files.out -Wl,-plugin-opt,thinlto-prefix-replace=path1;path2"
for the indexing link step, the output files from the thin link will be written to a directory tree...
2019 Jan 09
2
distributed thinlto usage
...will want to ensure that the final native link includes only those files selected by the linker. That is output in the file given to the "-Wl,-plugin-opt,thinlto-index-only=files.out" option. What we do is use that in combination with the '-Wl,-plugin-opt,thinlto-prefix-replace=path1;path2' option to simplify the final link invocation. Specifically, if you do something like:
"-Wl,-plugin-opt,thinlto-index-only=files.out -Wl,-plugin-opt,thinlto-prefix-replace=path1;path2"
for the indexing link step, the output files from the thin link will be written to a directory tree...
2006 Jan 09
4
Engine install problems with OS X
...#39;/public/plugins'': Could not resolve hostname
`svn.substance-it.co.uk'': No address associated with nodename (http://
svn.substance-it.co.uk)
export: Create an unversioned copy of a tree.
usage: 1. export [-r REV] URL[@PEGREV] [PATH]
2. export [-r REV] PATH1[@PEGREV] [PATH2]
1. Exports a clean directory tree from the repository specified by
URL, at revision REV if it is given, otherwise at HEAD, into
PATH. If PATH is omitted, the last component of the URL is used
for the local directory name.
2. Exports a clean directory tree from the working...
2019 Jan 08
2
distributed thinlto usage
I am trying to work through the usage of thinlto for distributed builds.
Here is the simple thinlto usage, just add -flto=thin everywhere, easy:
clang++ -flto=thin -O3 -c -o CreateWay_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN -Wno-dangling-else CreateWay_.cpp
clang++ -flto=thin -O3 -c -o Places_.o -DSPEC_CPU -DNDEBUG -DSPEC_CPU_LITTLE_ENDIAN
2009 Jan 09
4
Extracting File Basename without Extension
Dear all,
The basename() function returns the extension also:
> myfile <- "path1/path2/myoutput.txt"
> basename(myfile)
[1] "myoutput.txt"
Is there any other function where it just returns
plain base:
"myoutput"
i.e. without 'txt'
- Gundala Viswanath
Jakarta - Indonesia
2003 Oct 30
2
sftp client reget reput
...(cmdnum) {
case I_GET:
case I_PUT:
+#ifdef REGET
+ case I_REGET:
+ case I_REPUT:
+#endif
if (parse_getput_flags(&cp, pflag))
return(-1);
/* Get first pathname (mandatory) */
@@ -921,10 +956,24 @@
err = -1;
break;
case I_GET:
+#ifdef REGET
+ err = process_get(conn, path1, path2, *pwd, pflag, 0);
+#else
err = process_get(conn, path1, path2, *pwd, pflag);
+#endif
break;
case I_PUT:
+#ifdef REGET
+ err = process_put(conn, path1, path2, *pwd, pflag, 0);
+ break;
+ case I_REGET:
+ err = process_get(conn, path1, path2, *pwd, pflag, 1);
+ break;
+ case I_REPUT:
+ er...
2012 Nov 04
1
structural equations using sem package
...d=c("exo"))
summary(output)
With this i can get the direct effect of exo on endo.
?But? if i want 'med' above to be a latent variable that is identified by a number of variables - in the example below i use just one - do i proceed as follows. ???
?????
##With latent variable
path2<-matrix(c(?? "exo -> endo", "g1",NA,
???? ??? ??? ??? ??? "exo -> latent", "g2",? NA,
???????????????????? "latent -> endo","g3", NA,
???????????????????? "latent -> med", "g4", NA,
??? ??? ??? ??? ?????...
2002 May 09
4
copy a large volume of data from PC to samba server
Hi there,
Is there someone over there knows a method or script
that can copy a large volume of data (in folders) from PCs
to a samba server (suppose there is enough space there)?
I know using smbclient or smbtar can backup data on PCs
to samba server, but it is written in tar files.I wonder whether
this method can handle a large folder, say, in 10GB size.
Also, using smbclient with mget and
2018 Oct 05
3
Mapping user by ip address
...ess. Now how to map ip address
192.168.0.10 to the private user?
I need to continue accessing the /share root folder but If I try to
access/modify just ip address 192.168.0.10 will have access.
Something like:
[thsprovider]
path = /share
force user = everybody
force group = everybody
path2 = /share/private
force user = private
force group = private
Is that even possible?
2007 May 14
0
[PATCH] Adds support for Append command (SSH_FXF_APPEND) to sftp_client
...lphabetic
reason.
If you do not plan to insert this patch consider to change this line of code:
--- sftp.c.orig 2007-05-14 22:48:33.000000000 +0200
+++ sftp.c 2007-05-14 22:50:07.000000000 +0200
@@ -940,7 +940,7 @@
return(-1);
if (get_pathname(&cp, path2))
return(-1);
- if (!*path1 || !*path2) {
+ if (*path1 == NULL || *path2 == NULL) {
error("You must specify two paths after a %s "
"command.", cmd);
re...
2023 Mar 04
3
Trying to diagnose incomplete file transfer
...ently
using the 'split' command to break the files into 1-GB "chunks" (ex.:
foo.tgz.aa, foo.tgz.ab, ...).
For the rsync transfer, I am using the following options:
rsync -az \
-e "ssh ..." \
--link-dest=/local/path1 \
--link-dest=/local/path2 \
--remove-source-files \
user at remote:/path/to/files \
/local/path1/
where
'-e "ssh ..."' is the set of SSH options (for tunneling, etc.).
'--link-dest=/local/path1' refers to a local directory that might
contain a copy of the file.
'...
2012 Mar 12
1
SEM eigen value error 0 X 0 matrix
...components. I have no idea why
they are listed there because I omitted all of the 'NA' values from my data
and can verify this by a visual inspection.
Here is my specified model:
# Primary model
wellbeing.model <- specifyModel()
belonging -> optimism, path1
autonomy -> optimism, path2
optimism -> wellbeing, path3
belonging -> belonging_hapmar, patha
belonging -> belonging_attend, pathb
belonging -> belonging_cowrkint, pathc
autonomy -> autonomy_overwork, pathd
autonomy -> autonomy_famwkoff, pathe
autonomy -> autonomy_hrsrelax, pathf
optimism -> optimism_c...
2011 Jun 30
5
How to define a hash table and loop over them in a definition?
This may have been asked before, if so, please excuse me and point me
to the right direction.
What I want to do is to define a hash table with multiple key->value
pairs. I would like to pass this variable to a file template and
generate a result file with all the mappings listed. Based on what I
read, I need to do it in a definition. But does Puppet supports loop
over a hash?
Any help would
2002 Nov 05
0
[PATCH] Add getlink command to sftp
...tory\n");
***************
*** 582,587 ****
--- 585,591 ----
case I_CHDIR:
case I_LCHDIR:
case I_LMKDIR:
+ case I_GETLINK:
/* Get pathname (mandatory) */
if (get_pathname(&cp, path1))
return(-1);
***************
*** 682,687 ****
--- 686,695 ----
case I_SYMLINK:
path2 = make_absolute(path2, *pwd);
err = do_symlink(conn, path1, path2);
+ break;
+ case I_GETLINK:
+ path1 = make_absolute(path1, *pwd);
+ err = do_getlink(conn, path1);
break;
case I_RM:
path1 = make_absolute(path1, *pwd);
*** sftp-client.h@@\main\1 Tue Oct 1 17:26:26 2002
--- s...
2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
...it's true :-)
The 'core' of my grudge seems to lie in the new clistr_push function, which
does not exist in release 2.2.0. A 'cd directory' command is thus processed by
cli_chkpath, which does :
cli_setup_packet(cli);
p = smb_buf(cli->outbuf);
*p++ = 4;
safe_strcpy(p,path2,strlen(path2));
unix_to_dos(p,True);
cli_send_smb(cli);
It is clear the path is known to be in Unix format, and is properly
translated to dos stuff.
But cli_chkpath, in smbclient 2.2.1a/2.2.2, is now :
cli_setup_packet(cli);
p = smb_buf(cli->outbuf);
*p++ = 4;
p += clistr_push(c...
2007 Feb 13
5
Fatigued R
Hi R,
Please solve my problem...........
I am extracting Bloomberg data from R, in a loop. R is getting fatigued
by doing this process and gives some errors. I introduced sleep
function. Doing this sometimes I get the results and sometimes not. I
even noticed that if I give complete rest for R (don't open R window)
for 1 day and then run my code with the sleep function, then the
2000 Oct 16
2
renaming an object
...I have a file called exp.batch which contains 2 cols
The first col contains names of R objects the user would like to use.
The second col contains the file names which will be read in using
read.table
i.e. exp.batch may look like this.....
name1 complex/filename/path1.txt
name2 complex/filename/path2.txt
name3 complex/filename/path3.txt
name4 complex/filename/path4.txt
I want to have a function which will read in the files and make them into
the objects named in the 1st column - automatically (by just providing
exp.batch)
for(i in 1:nrow(exp.batch)){
tmp<-read.table(as.name(exp.batch[i,2...