Re: --detect-renamed --detect-moved and -b

2009-11-12 Thread Thomas Gutzler
Matt McCutchen wrote: On Wed, 2009-11-11 at 20:27 +0800, Thomas Gutzler wrote: I played around with the combination of rsync --detect-renamed --detect-moved and -b. You can't combine the --detect-renamed and --detect-moved options because they make use of the partial dir in incompatible

Re: Yet another include/exclude question

2009-11-09 Thread Thomas Gutzler
Thanks everyone for your help, I've got what I want. Wayne Davison wrote: On Sun, Nov 8, 2009 at 10:21 PM, Thomas Gutzler thomas.gutz...@gmail.com mailto:thomas.gutz...@gmail.com wrote: I thought --include=/this_dir/ --include=/this_dir/*** would do it, but it doesn't. The exclude

Re: Yet another include/exclude question

2009-11-09 Thread Thomas Gutzler
Matt McCutchen wrote: On Tue, 2009-11-10 at 09:45 +0800, Thomas Gutzler wrote: Thanks everyone for your help, I've got what I want. My first attempt has been --include=*/ --include=*.foo --include=*.bar --include=/this_dir/*** --exclude=* which did nothing than *.foo and *.bar. Shuffling

Re: Yet another include/exclude question

2009-11-08 Thread Thomas Gutzler
because of pattern * Tom Steven Monai wrote: Tony wrote: On Nov 6, 2009, at 12:43 AM, Thomas Gutzler wrote: Hi, How can I include only *.foo and *.bar files in an rsync? To make it a bit more difficult: Those files can be anywhere in the directory structure. I've been reading and trying

Yet another include/exclude question

2009-11-05 Thread Thomas Gutzler
Hi, How can I include only *.foo and *.bar files in an rsync? To make it a bit more difficult: Those files can be anywhere in the directory structure. I've been reading and trying for a while but the best I got is all *.foo and *.bar files in ./ but none of the ones inside any directories.

exclude files from backup with rsync -b

2009-10-21 Thread Thomas Gutzler
Hi, is there a way to exclude files from being backed up when running rsync -b? Let's assume the following file tree: ./src/f1 ./src/temp/t1 ./dest/src/f1 ./dest/src/temp/t1 Now, I'm modifying both files f1 and t1 and run rsync -a --relative -b --backup-dir=/backup/ src/ dest/ Both ./dest/src/f1

Re: Feature I'd love to see: --move-dest

2008-12-08 Thread Thomas Gutzler
use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html -- Thomas Gutzler Optical+Biomedical Engineering Laboratory The University

Re: rsync hangs during --remove-source-files

2008-10-19 Thread Thomas Gutzler
Wayne Davison wrote: On Fri, Oct 17, 2008 at 03:34:03PM +0800, Thomas Gutzler wrote: I had another rsync hang. I've attached a text file with the stack traces you asked for and some other info. [...] So, the strange thing is that the receiver is waiting around for more files to process

Re: rsync hangs during --remove-source-files

2008-10-17 Thread Thomas Gutzler
, 2008-10-13 at 21:19 +0800, Thomas Gutzler wrote: I'm using the following command to move files from a to b: rsync -a --remove-source-files --ignore-existing /path/to/dir1/ /path/to/dir2 logfile dir2 isn't empty so I only move files from dir1 to dir2 that don't exist already. Every so often

rsync hangs during --remove-source-files

2008-10-13 Thread Thomas Gutzler
Hi, I'm using the following command to move files from a to b: rsync -a --remove-source-files --ignore-existing /path/to/dir1/ /path/to/dir2 logfile dir2 isn't empty so I only move files from dir1 to dir2 that don't exist already. Every so often rsync stops in the middle and doesn't continue