Gamingforce Interactive Forums
85242 35212

Go Back   Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk
Register FAQ GFWiki Community Donate Arcade ChocoJournal Calendar

Notices

Welcome to the Exploding Garrmondo Weiner Interactive Swiss Army Penis.
GFF is a community of gaming and music enthusiasts. We have a team of dedicated moderators, constant member-organized activities, and plenty of custom features, including our unique journal system. If this is your first visit, be sure to check out the FAQ or our GFWiki. You will have to register before you can post. Membership is completely free (and gets rid of the pesky advertisement unit underneath this message).


Knoppix's search feature
Reply
 
Thread Tools
mortis
3/3/06


Member 634

Level 32.09

Mar 2006


Reply With Quote
Old Aug 9, 2007, 07:23 PM #1 of 5
Knoppix's search feature

I dunno if this should go in the Software form, or Help Desk, but since I am technically asking for help, I guess it goes here.

Basically, my father wanted me to search an old computer of his that had a bad hard drive (this is a different computer from my last post BTW). I was successful in doing it, but had to almost by brute force, searching each file and folder until I found it. The way I was able to search through the files and folders was by using Knoppix (since, again, his HDD is on the blink).

Now, the reason for having to search by 'brute force' is Knoppix's Find Files and Folders program failed to find the file, Resume 2 after having a search value of Resume. After I found the file, I even directed the search to the folder the file was in, and changed the search value to Resume 2, which was still not found. My question is, where am I going wrong with this? Do I need to give the exact name and extension? Is there a way around this (as while I am lucky to have found the files my dad wanted this time from brute force, I shudder if I were to have to do it for someone else or even myself, later) restriction (another program, an option I missed, etc)? Thanks.

Most amazing jew boots
LiquidAcid
Chocorific


Member 6745

Level 38.97

May 2006


Reply With Quote
Old Aug 12, 2007, 05:30 AM Local time: Aug 12, 2007, 11:30 AM #2 of 5
Use the standard linux find command to search your files:
cd /mnt/mountpoint (change directory to the mountpoint of the filesystem in question)
find . -name "*Resume*"

And doing a search on a bad hd is generally not a good idea.

There's nowhere I can't reach.
mortis
3/3/06


Member 634

Level 32.09

Mar 2006


Reply With Quote
Old Aug 12, 2007, 07:09 AM #3 of 5
True...but I was given the clear to try to search anyway. I mean, originally I mentioned that I could repair the OS but doing so would most likely screw up the HDD, in which I was told to try anyway...

So, to understand you correctly...

cd /mnt/mountpoint/hda1 (or hda2)

find . -name "*resume*"

I understand just about everything save for the period between find and -name. What is that for?

This thing is sticky, and I don't like it. I don't appreciate it.
LiquidAcid
Chocorific


Member 6745

Level 38.97

May 2006


Reply With Quote
Old Aug 12, 2007, 08:47 AM Local time: Aug 12, 2007, 02:47 PM #4 of 5
You could also do find /mnt/mountpoint -name "*resume*"
The period is the current working directory, namely the dir you're currently 'inside'. Supplying the period to find only tells it to begin the search in the current directory. I don't think you also want to search inside the fs on the Knoppix disc. Even more information with
man find (if Knoppix has manual pages onboard the disc)

I don't know how Knoppix names the mountpoints, maybe they're in /mnt or maybe also in /media (if some automounting daemon is doing the whole thing).

Also keep in mind that linux is case-sensitive, so searching for "*resume*" reveals only files like
"resume download.txt", etc.

You can use -iname instead of -name in find to do a case-insensitive search.

Most amazing jew boots
mortis
3/3/06


Member 634

Level 32.09

Mar 2006


Reply With Quote
Old Aug 12, 2007, 01:15 PM #5 of 5
Ah yes, that's right. And .. means "Go up one directory". I really need to get a Linux distro on one of my computers for good and get familar with it again.

Thanks a lot!

I was speaking idiomatically.
Reply


Exploding Garrmondo Weiner Interactive Swiss Army Penis > Garrmondo Network > Help Desk > Knoppix's search feature

Forum Jump


All times are GMT -5. The time now is 01:34 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2026, vBulletin Solutions, Inc.