similar to: Preexec and multiple commands

Displaying 20 results from an estimated 3000 matches similar to: "Preexec and multiple commands"

1999 Oct 20
3
Preexec and smb.conf
Hi Steve, And thanks for your answer. Unfortunately it does not solve my problem. What I?m trying to do is to create two dirs using preexec in the same service. It works well as long as I?m only creating one directory, what I can?t figure out is how to create the second directory withing the same service. Eg. How would I continue after the last "fi" in the script to check for the second
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 ,
2000 Jul 26
1
Excel and Word file corruptions
Has anyone seen file corruption with Excel 97 SR1, on Samba? Scotty (scott@dork.com) is running 2.0.7 on SCO 5.0.4 on a Compaq Proliant 800, compiled on SCO 5.0.5 box. He writes, on comp.protocol.smb: > Oh dear. If this is the case does that mean my clients can't use Excel > 97 SR1 on Samba or is there a workaround? At the moment some of my > clients users are saving files to their C
2003 Aug 19
1
include files and smbmount
=========== => Please reply to address above, I'm not subsribed to the mailing list =========== Hi, I have a problem and I don't get to the point. I have a Samba3.0.0 RC1 Server running, my problem is I include different %g_smb.confs for each group loging in to the server. The first problem is it takes up to 30 secs in my testing environment until the shares are shown (All Clients
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
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
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
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.
2013 Feb 22
2
How to merge two functions into one?
I am using the code below to calculate the correlation map between two datasets. This code worked fine. dir1 <- list.files("D:thly", "*.bin", full.names = TRUE) dir2 <- list.files("D:002", "*.envi", full.names = TRUE) file_tot <- array(dim = c(1440, 720, 11, 2)) for(i in 1:length(dir1)) { file_tot[, , i, 1] <-
2005 Jan 19
4
How to replace slashes with back slashes
Dear R-helpers I am running R2.0.0 under Windows 2000. I am compiling a number of file paths into a simple text file that will be read by some other software we use. Unfortunately, it can only handle file paths with back slashes (MS Windows convention), and from R, I get file paths with forward slashes. The following didn't work. > gsub('/', '\\',
2010 Jul 16
4
--compare-dest weirdness
Hi All, I am writing a backup program for my computer. brief outline is as follows. Running ubuntu 10.04 2 main partitions, / and /home, both ext3. 1 external usb hdd, ext3, mounted to /backups/main. once every couple of days, rsync backs up, using following command, everything worth backing up in / and /home partitions to a folder /backups/main/Full. command: "rsync -vrhRupElog
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
2004 Feb 06
3
Please help : Strange 'file has vanished' behaviour with rsync on windows.
Please help : Strange 'file has vanished' behaviour with rsync on windows. I need to run rsync on windows and sync shares thru UNC names. When I try : rsync -e ssh -av //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/. rsync does a copy but says "file has vanished" for every file. Then when I run: rsync -e ssh -av --dry-run //mypc1/myshare1/dir1/* //mypc1/myshare1/dir2/. it shows
2013 Dec 02
2
symlink in -R src_dirlist and real dirs on target
Hi folks, I have a bunch of directories to mirror via rsync. I have lots of hardlinked files spread about these directories. Therfore I use -R (--relative) and -H. so far ok but: I create symlinks to the source-directories via script because src-dirs have changing names (date and time of backup) and I want to have constant directory names on target. How can I achieve that? I thought -k
2018 May 15
2
New 3.12.7 possible split-brain on replica 3
Thank you Ravi for your fast answer. As requested you will find below the "stat" and "getfattr" of one of the files and its parent directory from all three nodes of my cluster. NODE 1: File: ?/data/myvolume-private/brick/dir1/dir2/dir3/dir4/dir5/dir6/dir7/dir8/dir9/dir10/OC_DEFAULT_MODULE/filename.shareKey? Size: 0 Blocks: 38 IO Block: 131072 regular
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,
2007 Dec 06
1
Delete files using no recursion
Hi all, I'm running rsync (2.6.2) this way (which do not remove files from the destination side which were removed from the sending side): rsync -vbu --backup-dir=/bkp --stats /dir1/*.fle /dir2 I want to sync all .fle files from dir1 to the dir2 and also remove files from the destination which were removed from the sending side, using no recursion. Already tried this:
2018 May 17
0
New 3.12.7 possible split-brain on replica 3
Hi mabi, Some questions: -Did you by any chance change the cluster.quorum-type option from the default values? -Is filename.shareKey supposed to be any empty file? Looks like the file was fallocated with the keep-size option but never written to. (On the 2 data bricks, stat output shows Size =0, but non zero Blocks and yet a 'regular empty file'). -Do you have some sort of a
2003 Feb 25
2
Difference in behaviour with --backup
When I do rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/dir3 machine:/dir1/dir2/dir3 I get /dir1/dir2/Backup/dir3/... /Backup/dir3/dir4/... i.e. the tree under 'dir3' (my source tree) gets created under .../Backup. This is fine. But when I do the same thing with a single file like rsync -av --backup --backup-dir=/dir1/dir2/Backup \ /dir1/dir2/file
1999 Sep 18
1
Transfering large files
Hello! I've been seeing some weird problems with transfering large files from a Samba (2.0.4a[1]) server to Windows clients. Sometimes (but not always) the Windows client will stop copying the file after a few megs and claim that the share is no longer available (it is, of course). This used to happen *a lot* with the default read/write buffer of 8k. The buffer is now 250 K, which has almost