Displaying 20 results from an estimated 23 matches for "dirlist".
2006 Mar 03
1
DO NOT REPLY [Bug 3579] New: Add support for pregenerated directory listings
...ubtedly time windows where the data in the generated
directory listing would be out of date (when a child process is updating the
directory tree in question), but that's true too when the directory gets
modified after the daemon has sent the directory listing. There is an
additional risk of the dirlisting file getting corrupted and/or outdated, but
that's negligible compared to the speed gain.
Example:
Rsync run as client:
rsync -a --delete-after --generate-dirlist=/home/foo/rsync-foo.lst foo.org::foo
/home/foo/rsyncdata
rsyncd.conf:
[foo]
path = /home/foo/rsyncdata/
list = yes
dirlisti...
2006 Jun 01
1
Help with evaluation of expressions
...ke the function to handle trellis plots as well as regular
plots.
Here is the function.
plotSlide<-function(pltexpr){
expr<-as.expression(pltexpr)
numslide<-length(dir(pattern="wmf"))+1
fname<-paste("SG",numslide,".wmf",sep="")
dirlist<-dir(pattern="SlideList.txt")
if (length(dirlist)==1){
fs<-file("SlideList.txt",open="at")
write(paste(fname,"Graph",sep=","),file=fs)
close(fs)} else {
write(paste(fname,"Graph",sep=","),file="S...
2006 Apr 09
1
[PATCH] kbuild: rebuild initramfs if included files changes
...p;2
+ exit 1
+}
+
+list_header() {
+ :
+}
+
+header() {
+ printf "\n#####################\n# $1\n" >> ${output}
+}
+
+# process one directory (incl sub-directories)
+dir_filelist() {
+ ${file_list}header "$1"
+
+ srcdir=$(echo "$1" | sed -e 's://*:/:g')
+ dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
+
+ # If $dirlist is only one line, then the directory is empty
+ if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then
+ ${file_list}print_mtime "$1"
+
+ echo "${dirlist}" | \
+ w...
2006 Apr 08
0
[WIP] rebuild initramfs when content changes
...; >&2
printf "\n" >&2
usage >&2
exit 1
}
list_header() {
:
}
header() {
printf "\n#####################\n# $1\n" >> ${cpio_list}
}
dir_filelist() {
${file_list}header "$1"
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
# If $dirlist is only one line, then the directory is empty
if [ "$(echo "${dirlist}" | wc -l)" -gt 1 ]; then
${file_list}print_mtime "$1"
echo "${dirlist}" | \
while re...
2005 May 30
2
smbclient hangs
Hello,
I'm having problems with using smbclient on a win2k share. The server runs samba 3.0.14a on Solaris 9.
I want to tar the whole directory of a share. Into a file on the server
What I found out so far is, that it works until a maximum file count of 35. It is not size dependant but if the file count in that share exceeds more than 35 the smbclient hangs for ever and with the time is
2010 May 20
1
Geneland error on unix: Error in MCMC(........ :, unused argument(s) (ploidy = 2, genotypes = geno)
...o
o This is Geneland-3.2.1 o
o o
ooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Warning message:
In fun(...) : no DISPLAY variable so Tk is not available
> DIRLIST<-c("Adult_ALL
NO_ANW/")#,"Adult_Or_ANW/","Adult_Females/","Adult_Males/")
> for(d in DIRLIST){
+ theWd<- paste("/nfs/monash/home/namos/Rwork/",d,sep="")
+ setwd(theWd)
+ SPP.CODES <-"EYR"#c("BT","EYR&...
2003 Aug 12
8
capturing output from Win 98 shell
...cond or for one
second.
It does not, per help, "show the output of the command on the R
console".
Incidentally I can answer the problem at hand using the following
workaround
(but what I'm after is a more generic solution):
shell("dir D:\\tmp\\*.sasb7dat /b > D:\\tmp\\Paula\\dirlist.lst")
dataset.names <- scan("D:\\tmp\\dirlist.lst", what="", sep="\n")
TIA
SF
Simon Fear
Senior Statistician
Syne qua non Ltd
Tel: +44 (0) 1379 644449
Fax: +44 (0) 1379 644445
email: Simon.Fear at synequanon.com
web: http://www.synequanon.com
Number of at...
2011 Nov 28
5
window manager interface commands for linux
How can i replicate this in Linux:
source(file.choose())
I've tried source(tkgetOpenFile()) but with no luck
2012 Apr 11
1
[error] xf86-video-nouveau on OpenBSD
Hi,
I'm trying to compile nouveau on OpenBSD, but I always get an error message.
I have already compiled libdrm like this :
echo "/usr/X11R6/share/aclocal" >> /usr/local/share/aclocal/dirlist
./configure --enable-nouveau-experimental-api
make
make install
There wasn't any problem.
Then, I try to compile xf86-video-nouveau with :
./configure
make
But I get this error message :
CC nvc0_exa.lo
CC nvc0_xv.lo
CC drmmode_display.lo
drmmode_display.c: In function '...
2002 Jan 31
1
Files getting excluded.. don't understand why?
.../home/dpuryear/testdir2
Notice I'm debugging rsync, so I have it running in verbose mode on some
test directories. The full script is below:
#!/bin/sh
PATH=/bin:/usr/bin:/usr/local/bin
LOCKFILE=/home/dpuryear/sync_www.lock
LASTRUN=/home/dpuryear/sync_www.lastrun
TOCOPY=/home/dpuryear/tocopy
DIRLIST="/home/dpuryear/testdir"
WWWLIST=localhost
if [ -f $LOCKFILE ]; then
exit
else
touch $LOCKFILE
fi
# create copy list
rm -f $TOCOPY
for dir in $DIRLIST; do
cd $dir
# find files newer than $LASTRUN
if [ -f $LASTRUN ]; then
fin...
2002 Nov 05
2
2.5.6 release
...This seems rather odd-- perhaps a daemon stopped working? If there
> > has truly been no activity since that date, I apologize for
> > disturbing you.
>
> I think there really have been no commits since then:
>
> http://cvs.samba.org/cgi-bin/cvsweb/rsync/?sortby=date#dirlist
>
> We are all slackers and/or overworked. :-(
>
> I did see your Stratus (sp?) patch, and it looks harmless and useful.
> I have a lot on at the moment but I don't mind merging it when I or
> somebody else gets a chance.
This might be a good time for tagging 2.5.6 perhaps....
2009 Oct 28
7
Scripting help please....
Need a scripting help to sort out a list and list all the duplicate lines.
My data looks somethings like this
host6:dev406mum.dd.mum.test.com:22:11:11:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host7:dev258mum.dd.mum.test.com:36:17:19:no
host17:dev258mum.dd.mum.test.com:31:17:19:no
host12:dev258mum.dd.mum.test.com:41:17:19:no
host2:dev258mum.dd.mum.test.com:36:17:19:no
2001 Nov 01
1
Sol 2.8 - Samba 222- --with-pam compile errors
...of this object
[-Q y|n] do|do not place version information in output
file
[-R path] specify a library search path to be used at run
time
[-S name] specify a link-edit support library
[-V] print version information
[-Y P,dirlist] use `dirlist' as a default path when searching
for
libraries
*** Error code 1
make: Fatal error: Command failed for target `bin/pam_smbpass.so'
================================================================
I've also tried compiling using the gcc 2.95.3 com...
2002 Nov 05
0
FW: rsync-cvs mail list archiving broken??
...chives since August
> 30th. This seems rather odd-- perhaps a daemon stopped working? If
there
> has truly been no activity since that date, I apologize for
> disturbing you.
I think there really have been no commits since then:
http://cvs.samba.org/cgi-bin/cvsweb/rsync/?sortby=date#dirlist
We are all slackers and/or overworked. :-(
I did see your Stratus (sp?) patch, and it looks harmless and useful.
I have a lot on at the moment but I don't mind merging it when I or
somebody else gets a chance.
--
Martin
2006 Dec 01
2
favicon
im trying to figure out how to serve a favicon.ico for my app, does anyone have a line for Mongrel::Configurator? all i can see is that everyone seems to use the 404 handler...how boring..
uri "/favico", :handler => Mongrel::DirHandler.new(File.dirname(__FILE__)+"/favicon.ico") is sort of close, but it says The image ?http://m/favicon.ico? cannot be displayed, because it
2006 Apr 15
1
[PATCH] klibc: fix gen_initramfs_init.sh when using -d
...ult_initramfs() {
- # echo usr/kinit/kinit
- :
+ echo usr/kinit/kinit \\
}
default_initramfs() {
@@ -167,8 +166,6 @@ header() {
# process one directory (incl sub-directories)
dir_filelist() {
- ${dep_list}header "$1"
-
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
@@ -187,9 +184,9 @@ # if only one file is specified and it i
# if a directory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file...
2006 Jun 26
0
[klibc 08/43] klibc: default initramfs content stored in usr/initramfs.default
...nit 0755 0 0
- # slink /init kinit 0755 0 0
- EOF
-}
-
filetype() {
local argv1="$1"
@@ -167,8 +149,6 @@ header() {
# process one directory (incl sub-directories)
dir_filelist() {
- ${dep_list}header "$1"
-
srcdir=$(echo "$1" | sed -e 's://*:/:g')
dirlist=$(find "${srcdir}" -printf "%p %m %U %G\n" 2>/dev/null)
@@ -187,9 +167,7 @@ # if only one file is specified and it i
# if a directory is specified then add all files in given direcotry to fs
# if a regular file is specified assume it is in gen_initramfs format
input_file...
2000 Mar 13
4
ssh works only as root
On my solaris 2.6 box, I get
ssh moni
ld.so.1: ssh: fatal: libz.so: open failed: No such file or directory
Killed
while as root, I have no problem. Note that
echo $LD_LIBRARY_PATH
/space/local/lib:/usr/local/lib:/usr/openwin/lib:/usr/lib:/opt/x11r5/lib
ls -l /space/local/lib/libz.*
-rwxr-xr-x 1 wierdlm faculty 70488 Mar 10 17:26 /space/local/lib/libz.a
-rwxr-xr-x 1 bin bin
2011 Jun 01
2
virt-install hell: how to *force* a local CD-ROM install?
I have a CentOS 5.6 system with a AMD Sempron(tm) Processor LE-1300
(which does not provide hardware virtualization support, so I can't use
the --cdrom option) and I am *trying* to install FC15 as a guest O/S
using a local FC15 DVD-ROM image. Everything work until the installer
*insists* on firing up the network to get the repo data, etc. I have a
*dial-up* Internet connection and this is a
2008 Mar 19
0
[PATCH] Unsnarl missing_below/dry_run logic.
...to --dry-run; will still be scanned. */
+ static struct file_struct *dry_missing_dir = NULL;
+ /* Missing dir whose contents are skipped altogether due to
+ * --ignore-non-existing, daemon exclude, or mkdir failure. */
+ static struct file_struct *skip_dir = NULL;
static struct file_list *fuzzy_dirlist = NULL;
static int need_fuzzy_dirlist = 0;
struct file_struct *fuzzy_file = NULL;
@@ -1241,7 +1252,6 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
char *fnamecmp, *partialptr, *backupptr = NULL;
char fnamecmpbuf[MAXPATHLEN];
uchar fnamecmp_type;
- int impli...