Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
found all files not from ebuild
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
uzz75
n00b
n00b


Joined: 29 Aug 2005
Posts: 34
Location: Italy

PostPosted: Thu Jun 21, 2007 9:28 pm    Post subject: found all files not from ebuild Reply with quote

It's just 4 years i don't reinstall my gentoo..
Sometime i need to do --depclean,
sometime goes good sometime not and i need to restore from backup.

But now i'd like to know all the file in my harddrive there are not from gentoo, so i can think about delete this or what to do..

I think about a simple script but i think it will need a lot of time, so

cd /
find > FileList.txt
after with for each line
equery belongs the line, if the result is good, go to next line,
othewise just write this line into new file.

i think, after 1 or 2 days i can have a list of all my non gentoo's files.

Do you have one better idea ?

Let me know

Thank's

Michele
_________________
Michele
Back to top
View user's profile Send private message
truc
Advocate
Advocate


Joined: 25 Jul 2005
Posts: 3199

PostPosted: Thu Jun 21, 2007 10:29 pm    Post subject: Reply with quote

qfile from portage-utils may be a little faster :)
Back to top
View user's profile Send private message
desultory
Administrator
Administrator


Joined: 04 Nov 2005
Posts: 9273

PostPosted: Fri Jun 22, 2007 3:31 am    Post subject: Reply with quote

Try the script posted in the topic "Orphan files finder".

Moved from Documentation, Tips & Tricks to Portage & Programming.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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