similar to: Bug or feature? --delete-after + symlinks

Displaying 20 results from an estimated 800 matches similar to: "Bug or feature? --delete-after + symlinks"

2007 Mar 04
1
Problem using callNextMethod() in S4
Dear all, Maybe, I am doing something wrong, but using R-2.5.0 on my Intel-Mac, I have problems using function callNextMethod() in method initialize. I am loading the following code as file "testS4.R": setClass("baseClass", representation(myname = "character", mydir = "character", "VIRTUAL"),
2002 Mar 12
2
problem with environment detecting
Hello! I want to detect some environment on a remote host (in C program, getenv()), but it is failed. Here is a little program which I try to run on a remote host with command: "#ssh myhost myecho" /* myecho */ #include <stdio.h> main (){ char *dir; if ((dir = getenv("MYDIR")) != NULL) printf ("environment is %s\n",dir);
2006 Aug 01
2
deleting a directory
Hi, all, I'm looking a utility for removing a directory from within R. Currently, I'm using: foo <- function(...) { mydir <- tempdir() dir.create(mydir, showWarnings = FALSE, recursive = TRUE) on.exit(system(sprintf("rm -rf %s", mydir))) ## do some stuff in "mydir" invisible() } However, this is assumes "rm" is available. I know of
2013 May 21
1
R CMD check: unknown option ?--outdir==RCHECK?
Hi, I believe this is kind of a long standing bug though. In R-3.0.1, but this also happened in previous versions, the long version '--outdir' is not recognised: For `R CMD check --outdir=mydir pkg_0.1.tar.gz` we get: Warning: unknown option ‘--outdir=mydir’ But with `R CMD check -o mydir pkg_0.1.tar.gz` we get: * using log directory ‘/home/renaud/Documents/projects/mydir/pkg.Rcheck’
2013 Aug 16
2
Maildirmake equiv?
Since I am using dovecot I do not have courier installed, but Courier had a very handy tool for making maildir folders called `maildirmake` which I used in some automated backup scripts. How do I duplicate maildirmake in dovecot? for example: #!/bin/bash # v1.2a Testing for new dovecot install # Archive mail from folders without [0-9]{4} Maildirs # after they are 21 days old to a yearly folder
2003 Feb 28
2
File opening error after 1020 files opened
Hi, I am trying to use "read.pnm" from the package "pixmap" to read more than 10 thousand image files in "mydir". > file.list <- dir( "mydir", full=T) > for( i in 1:length(file.list) ) { print(i) x <- read.pnm(file.list[i]) } In the beginning it was fine. But after reading 1020 images or so, the read.pnm function seems to crash on
2009 Aug 03
1
the protect flag - P doesn't work with --relative option ?
Hi, Basically, I want to preserve some of directories on destination side conditionally and hence, I choose to use --filter option mentioned in rsync man pages. I noticed that --filter option works as expected when I don't have --relative option used but in below case it doesn't work. rsync -avz --relative --delete --filter='H /mydir2' --exclude='- /preserve' mydir1/.
2012 Feb 15
1
Passing date as parameter while retrieving data from database using dbGetQuery
Hi All, This might be simple question, I need to retrive data for modelling from the databases. Eveytime date values changes so I countnot fix date value in the code, it is required to pass as parameter. When I pass the date as parameter, it throws error. (ERROR: column "start_dt" does not exist Position: 285) My script is as below, please guide me where am I going wrong? All parameters
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2001 Dec 03
1
New package: g.data
A new package "g.data" is available on CRAN, to create and maintain databases that work more like the S-Plus model. Here's the official Description for g.data (v1.2): Create and maintain delayed-data packages (DDP's). Data stored in a DDP are available on demand, but do not take up memory until requested. You attach a DDP with g.data.attach(), then read from it and assign
2002 Feb 11
1
problem getting just a single dir !
I am trying to fetch a single dir using the following command but all I get is a empty dir: rsync -av www.myServer.com::myStuff --include=myDir --exclude=* . Here is the rsync output: receiving file list ... done myDir/ ./ wrote 119 bytes read 392 bytes 92.91 bytes/sec total size is 0 speedup is 0.00 The command looks simple and straight forward but somehow I am not getting the expected
2016 Dec 27
2
Help with httpd userdir recovery
I lost my harddrive on my little personal webserver that only serves some private files from my userdir. So I am trying to build this from notes on a new Centos7.3 installation (well really Centos7.3-arm, but supposedly same sources). Right now the server is running on a test subnet, not the production, but I have set up the hostname and my standard httpd edits. I have enabled userdir and
2011 Mar 19
1
Can't disable chroot to 'empty' dir, but need to... how to do it?
Hello all... I've installed dovecot on my ISP's shell server, and am using SSH tunnelling so that I can retrieve my mbox-format mail from procmail-processed mailboxes on that server (normally I just ssh there and read them locally with pine, but now that I have a phone with an IMAP client, I wanted to be able to read it more easily there). The problem I'm having is, although it's
2005 Dec 06
1
Proposed enhancements to rsync filters
I would like to propose some improvements to rsync's filters. (1) Add a notation that makes a pattern match both a file and everything under it if it happens to be a directory. One possibility: ending a path in //. "+ mydir//" would be equivalent to "+ mydir" "+ mydir/**". Just some syntactic sugar. (2) Add a third sender behavior to "hide" and
2006 Aug 05
2
Computer 1A question
I want to delete all files that have the pattern of "*.zip" in the directory /home/mydir and all sub-directories. rm -Rf /home/mydir/*.zip produces an error. What did I overlook? Thanks..... -- Ariste Software 2200 D Street Ext Petaluma, CA 94952 (707) 773-4523
2016 Dec 27
4
Help with httpd userdir recovery
On 12/27/2016 11:48 AM, Leonard den Ottolander wrote: > Hello Robert, > > On Tue, 2016-12-27 at 10:25 -0500, Robert Moskowitz wrote: >> I can display the /home/rgm/public_html/index.html file that only has >> "Hello World' in it (to prevent anyone from walking my file tree from >> the root). > To prevent people walking a directory structure you better disable
2004 Oct 28
1
Remote file deletion
I've a particular situation in which I need to sometimes delete one or two files from a remote site. I haven't figured out a way to do it with rsync yet... I've considered playing games with --exclude and --delete but I'm a bit nervous of the chances of mayhem by a simple error. Situation is a remote repository to which files are added on occasion; there is no local copy. On
2005 Sep 19
1
stale name lookup result
I am running a Samba 3.0.10 server on freeBSD and 3.0.10-Debian client. I just had a perplexing problem. The client is a laptop and moves about different samba networks. My home computer's name (Unix hostname and samba name) is 'ocean'. When I'm at home I run smbmount //ocean/mydir /mnt/samba/ocean/mydir -o <options> Normally this is fine. I've been running the
2017 Jan 20
2
Ownership and permissions when syncing directory contents
When you rsync a directory, say `$rsync mydir/ ...` with the trailing slash, the destination directory is changed to the ownership, permissions and timestamp of `mydir`. Consider this simple example $ mkdir test $ cd test $ mkdir a b $ touch -d '01 jan 1980' a/A $ touch -d '15 jun 1985' a $ touch -d '02 feb 1990' b/B $ touch -d '25 aug
2009 Sep 15
1
Regular expression problem
Dear R-users, I am trying to use the grep function to test whether a particular string is of the form "n.../mydir/myfile.mytype.myext". Anything between n and mytype could vary, and anything after mytype could vary. I tried to proceed by steps to build my regular expression... but I do not really understand why the last call of the following code do not work. Any help would be