/home/user/.dbus ??

Tony Nelson tonynelson at georgeanelson.com
Sun Jun 17 18:49:10 UTC 2007


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/
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson at georgeanelson.com>
      '                              <http://www.georgeanelson.com/>




More information about the fedora-list mailing list