/home/user/.dbus ??
William Case
billlinux at rogers.com
Sun Jun 17 19:34:11 UTC 2007
Thanks Tony;
On Sun, 2007-06-17 at 14:49 -0400, Tony Nelson wrote:
> At 10:27 AM -0400 6/17/07, William Case wrote:
> >Hi; an addendum;
> >On Sun, 2007-06-17 at 09:07 -0400, William Case wrote:
> >> Hi;
> >>
> >> I have the following directory in my user home directory:
> >> [root at CASE ~]# ls -al /home/bill/.dbus
> >> total 24
> >> drwx------ 3 root root 4096 2006-11-30 22:33 .
> >> drwxr-xr-x 71 bill bill 4096 2007-06-17 08:38 ..
> >> drwx------ 2 root root 4096 2007-06-09 14:18 session-bus
> >>
> >> Is that .dbus directory supposed to be there? Is it likely I copied it
> >> to ~/ some time ago by accident? Can I remove it?
> >
> >If I can't remove it (it seems connected to SELinux in some way) why
> >won't the following work ?
> > [bill at CASE ~]$rsync -auH --del --filter=-/home/bill/.dbus
> > -n /home/bill/ /backup/bill/
> > invalid modifier sequence at 'h' in filter rule:
> > -/home/bill/.dbus
> > rsync error: syntax or usage error (code 1) at exclude.c(777)
> > [client=2.6.9]
>
> According to the rsync man page, you need a " " or "_" between the rule and
> path. A "_" may be easier than quoting the argument.
>
> $rsync -auH --del --filter=-_/home/bill/.dbus -n /home/bill/ /backup/bill/
Thanks for the correction. I misunderstood what 'man' was telling me.
First I'll get the filter working. Just to learn how filters should
work, then I'll try rsync with the ~/.dbus removed.
--
Regards Bill
More information about the fedora-list
mailing list