BUG: snprintf() with floating point numbers

2003-03-14 Thread Fery
Hello, I used the snprintf.{c,h} in rsync for my code, and found a bug in it: snprintf(s,16,%f,0.025) results 0.25. The problem is in snprintf.c, in fmtfp(), around line 732. I didn't try the solution (I do not need it anymore), but the zpadding number of '0'-s should be placed before

Recursive filetype include

2003-03-14 Thread Mark Palatucci
Hello, I have a directory tree that contains many files of type .htm. I don't want these when I rsync - so I used the option --exclude '*.htm' There is however, one subdirectory (and all of its subdirectories) that I would like to include these .htm files. I tried using many variations of

Re: Recursive filetype include

2003-03-14 Thread Max Bowsher
Mark Palatucci wrote: Hello, I have a directory tree that contains many files of type .htm. I don't want these when I rsync - so I used the option --exclude '*.htm' There is however, one subdirectory (and all of its subdirectories) that I would like to include these .htm files. I tried

Re: Recursive filetype include

2003-03-14 Thread Mark Palatucci
Hi Max, The exact line is: /usr/local/bin/rsync --rsh=ssh -azvv --delete --force --include 'cpp/*.htm' --exclude '*.htm' --exclude CVS* --exclude 'Makefile' --exclude '*.sh' --exclude '*.psd' $localdir/ [EMAIL PROTECTED]:www/ This gets .htm's in cpp/, but not in dirs like cpp/foo/ or cpp/bar/

Re: Recursive filetype include

2003-03-14 Thread Max Bowsher
Mark Palatucci wrote: Hi Max, The exact line is: /usr/local/bin/rsync --rsh=ssh -azvv --delete --force --include 'cpp/*.htm' --exclude '*.htm' --exclude CVS* --exclude 'Makefile' --exclude '*.sh' --exclude '*.psd' $localdir/ [EMAIL PROTECTED]:www/ This gets .htm's in cpp/, but not in

Re: [rsync@b] Re: Dirvish, --link-dest and permissions

2003-03-14 Thread Bert
--delete-excluded --numeric-ids --exclude-from - -W --link-dest /usr/local/data/bac kups-dirvish/pcdirs-home/20030310-12:55/tree localhost:/usr/local/data/pc-homedirs/home/ /usr/local/data/backups-dirvish/pc dirs-home/20030314-19:50/tree | sed -e '/\/$/d' -e '/ [-=] /d' /usr/local/data/backups

Re: [rsync@b] Re: Dirvish, --link-dest and permissions

2003-03-14 Thread jw schultz
/ /usr/local/data/backups-dirvish/pc dirs-home/20030314-19:50/tree | sed -e '/\/$/d' -e '/ [-=] /d' /usr/local/data/backups-dirvish/pcdirs-home/20030314-19: 50/log Finally, here is an indication that the 20030310 and 20030314 backups were similar: bash-2.05b# du -s 2003031[04