Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to erase the beagle index data?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sat Mar 21, 2009 1:25 pm    Post subject: how to erase the beagle index data? Reply with quote

now I have changed my directories structure and changed names to utf8.
but I find that beagle always remember original directories with beagled --fg --debug.
It says : Delaying add of ... until FSQ comes across it .
but that directory doesnot exist.
that original file name uses non-utf8 ,so it always makes beagle halts and exits.

HOW to make beagle working freshly .
I mean to erase all original data that is remembered by beagle.

thanks
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Mar 21, 2009 1:45 pm    Post subject: Reply with quote

Isn't there a ~/.beagle or ~/.cache/beagle, which can be rm'd?
Back to top
View user's profile Send private message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Sat Mar 21, 2009 2:15 pm    Post subject: Reply with quote

yes ,I emerge -C beagle and deleted ~/.beagle and /var/lib/cache/beagle .

and emerge beagle again .

but find beagle always remember original directories that do not exist .

So I think there are other file that note the directory.

Thanks ph030
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
avx
Advocate
Advocate


Joined: 21 Jun 2004
Posts: 2152

PostPosted: Sat Mar 21, 2009 2:34 pm    Post subject: Reply with quote

http://beagle-project.org/FAQ wrote:
How to remove beagle and all its data ?

To remove beagle, use the standard procedure. If you installed from a package then uninstall the package. If you installed from the tarball, then run as root from the tarball directory
# make uninstall

Regarding removing beagle data, start by removing the directory where beagle stores most of its indexes and other data ~/.beagle. Beagle also stores some bookkeeping information in the extended attributes of the files. Though the information in the extended attributes is tiny, still over a large number of files they could total to a significant amount. There is no standard way to remove them, but you can use the following command/script (obtained from a Gentoo forum):
Code:
$ cat > ~/remove_beagle.sh
/bin/sh
getfattr "$@" | grep -o '.*.Beagle.*' | xargs -i setfattr "$@" -x \{\}
<ctrl-d>
$ chmod +x ~/remove_beagle.sh
$ find ~ -xdev -mindepth 1 -type f -exec ~/remove_beagle.sh \{\} \;


Lastly, you might want to remove any system wide indexes that you might have. These are usually located in the directory /var/cache/beagle.
Back to top
View user's profile Send private message
waterloo2005
Apprentice
Apprentice


Joined: 26 Aug 2008
Posts: 271

PostPosted: Wed Mar 25, 2009 12:28 pm    Post subject: Reply with quote

no , I conquer it.

It is for nautilus metadata . I cancelled it in preference of beagle.
_________________
i5-2450M, gnome, amd64
R,Mathematica,Emacs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum