Re: Newbie can't figure out error messages

2007-01-16 Thread Matt McCutchen
On 1/16/07, John Jason Jordan <[EMAIL PROTECTED]> wrote: I am trying to use rsync to create a mirror of my Linux laptop (Ubuntu Dapper amd-64) onto a USB drive hanging on a Windows 2000 desktop over ethernet. rsync: mknod "/media/smb/laptop/dev/.static/dev/.static/dev/rfcomm74" failed: Operat

Newbie can't figure out error messages

2007-01-16 Thread John Jason Jordan
I am trying to use rsync to create a mirror of my Linux laptop (Ubuntu Dapper amd-64) onto a USB drive hanging on a Windows 2000 desktop over ethernet. The folder I want to rsync to is /laptop and the USB drive is mounted at /media/smb using the following: sudo mount -t smbfs -o username=jcj //Dev

Re: include/exclude

2007-01-16 Thread Julian Pace Ross
Thanks for the insight! Up and running now. - Original Message - From: "Matt McCutchen" <[EMAIL PROTECTED]> To: "Julian Pace Ross" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, January 16, 2007 6:40 PM Subject: Re: include/exclude On 1/16/07, Julian Pace Ross <[EMAIL PROTECTED]> wrote:

Re: rsync 2.6.9 ignoring hidden files?

2007-01-16 Thread Alan Ezust
Apologies - you can ignore this message. For some reason I thought the .config file was there, but as you suggested, it was missing from this particular source tree. On subseuqent tests, I found that the .config file was copied over without problems. On 1/16/07, Matt McCutchen <[EMAIL PROTECTED]

Re: rsync 2.6.9 ignoring hidden files?

2007-01-16 Thread Matt McCutchen
On 1/16/07, Alan Ezust <[EMAIL PROTECTED]> wrote: rsync -avz linux-2.6.16.29/. yuzu:/usr/src/linux-2.6.16.29/ I also tried adding this option: --include=".*" but in both cases, the .config file was not copied over. It seems that rsync is copying hidden directories but not hidden files. Is the

Re: include/exclude

2007-01-16 Thread Matt McCutchen
On 1/16/07, Julian Pace Ross <[EMAIL PROTECTED]> wrote: [...] there is no --filter-from=FILE [...] The exact equivalent to --filter-from=FILE is --filter=". FILE" . --filter=": FILE" is similar but checks for a file by that name in each subdirectory for patterns that should apply to that subdir

rsync 2.6.9 ignoring hidden files?

2007-01-16 Thread Alan Ezust
I've been googling and searching the mailing list, and I think this is a new issue. I just tried copying a kernel source tree, using this command rsync -avz linux-2.6.16.29/. yuzu:/usr/src/linux-2.6.16.29/ I also tried adding this option: --include=".*" but in both cases, the .config file wa

Re: include/exclude

2007-01-16 Thread Julian Pace Ross
OK thanks! - Original Message - From: "Christophe LYON" <[EMAIL PROTECTED]> To: "Julian Pace Ross" <[EMAIL PROTECTED]>; Sent: Tuesday, January 16, 2007 2:54 PM Subject: Re: include/exclude You can still use --filter: --filter=": my-rsync-filter" will include the file my-rsync-filter

Re: include/exclude

2007-01-16 Thread Christophe LYON
You can still use --filter: --filter=": my-rsync-filter" will include the file my-rsync-filter in the list of rules (and recursively at each directory level). This is very powerful and allows you to modify the filters without modifying the script which calls rsync. Christophe. On 16.01.200

include/exclude

2007-01-16 Thread Julian Pace Ross
Hi all, I've read the man page but still seem to be a bit confused: Is it possible to specify include/exclude rules to transfer files, for example of type *.c and *abc, and exclude everything else? I am trying to avoid using --filter, since the list of patterns can be quite long and can chan