Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 17 Sep 2019, 08:54
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Normal Linux commands to Locate your system files, INSTANTLY
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 11 of 13 [184 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13 Next
Author Message
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Tue 07 Apr 2015, 03:20    Post subject:  

updated!
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Tue 07 Apr 2015, 09:53    Post subject:  

withdrawn
Last edited by stemsee on Tue 21 Apr 2015, 17:05; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Thu 09 Apr 2015, 04:54    Post subject:  

withdrawn
Last edited by stemsee on Tue 21 Apr 2015, 17:04; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Thu 09 Apr 2015, 05:37    Post subject:  

I'm not sure if I posted my final solution so here it is.

You need the findutils from here:
http://www.smokey01.com/software/tahr-6/findutils-tahr-4.4.2.pet

The GUI here:
http://www.smokey01.com/software/tahr-6/locator-1.1-tahr.pet

This should work on 32bit puppy's.

You only need the GUI for Fatdog-700 as it already has findutils installed.
locator.jpg
 Description   This is the GUI
 Filesize   71.61 KB
 Viewed   265 Time(s)

locator.jpg


_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
musher0

Joined: 04 Jan 2009
Posts: 14305
Location: Gatineau (Qc), Canada

PostPosted: Thu 09 Apr 2015, 07:25    Post subject:  

Hi Smokey.

Your solution does look efficient. Is it available for 32 bit machines?

I think you did post something to that effect earlier. The reason I didn't
react then was because your script is based on locate, not slocate. The
"findutils" do not contain slocate.

I chose to work with slocate instead of locate because it contains within
itself the db creator and the db searcher.

And before you or anyone else criticizes, Smile I try not to use GUI's of this
kind because I personally find them boring. (Sorry for being so frank!)

I realized after the fact that gcmartin probably initiated this thread to push
your own locator, and that I sort of was the dog irrupting in the bowling
alley with my impromptu script.

In any case, what's done is done. No hard feelings or "jealousy", I hope.
None here, anyway.

BFN.

musher0

_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Thu 09 Apr 2015, 08:45    Post subject:  

It was for stemsee' s benefit as he has posted a GUI.

Cheers

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Thu 09 Apr 2015, 18:54    Post subject:  

Looks good smokey01. All in one page. is the save icon to save the results. And how does one use the results? How do they pipe through to a media player?

cheers.

I will try it to see for myself , of course.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Thu 09 Apr 2015, 19:03    Post subject:  

seems to take quite a while to build the database. Will it include usb storage devices?? an i just adapt your gui to work with slocate?
Back to top
View user's profile Send private message MSN Messenger 
smokey01


Joined: 30 Dec 2006
Posts: 2811
Location: South Australia :-(

PostPosted: Thu 09 Apr 2015, 19:16    Post subject:  

stemsee wrote:
seems to take quite a while to build the database. Will it include usb storage devices?? an i just adapt your gui to work with slocate?


I'm pretty sure it will include usb storage devices but to be honest I can't remember.

It does take a while to build the database but it is indexing all mounted drives into a single database. This is great because later you can search for files without having to mount the drives. slocate and mlocate maybe a little faster at indexing.

The disk icon is for creating or updating the database as per the tooltip.
stemsee wrote:

And how does one use the results? How do they pipe through to a media player?

It was only designed to find files, not perform any action. I use it for finding all sorts of stuff.

I would have preferred to use slocate but I couldn't get it to index all files into one database. Musher prefers one database per drive where I prefer a single database so I don't have to mound a drive to search it.

You might have more success than me with slocate. I would be interested in you results.

Cheers

_________________
Software <-> Distros <-> Tips <-> Newsletters
Back to top
View user's profile Send private message Visit poster's website 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Fri 10 Apr 2015, 07:24    Post subject:  

First attempt. I renamed /usr/bin/locate locates, then linked /usr/bin/slocate > locate and seems to be working fine! So this one gui can at least replace the three popups I used in my yad system, but .... let's see what I can do with it.
Back to top
View user's profile Send private message MSN Messenger 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Tue 21 Apr 2015, 06:47    Post subject:  

withdrawn
Last edited by stemsee on Tue 21 Apr 2015, 17:03; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Tue 21 Apr 2015, 14:58    Post subject:  

Note worthy ONLY!

This thread was inspired years ago when @TaZoC first created Lighthouse64. It presented a manner such that file-locations could be discovered instantaneously.

This ability was missing in every PUP distro except LH64, until the latest efforts to upgrade @TaZoC's work came along as well as the distro that @StemSee has given us; namely EmSee.

This thread has 2 basic missions:
  • make it easy for users to take advantage of its benefit
  • make it easy for developers to "place" it in their distros/product for an additional Puppy Linux advantage
by providing the means for anyone to "see", directly, its benefits.

There have been contributions coming from many members on it and for everyone who test/uses it, the benefits are obvious.

This thread will remain open (thus, it will never appear as "SOLVED), forever, as finding files, as simple as this is suppose to be (and it is), should offer a clear understanding on how to make finding your files instantaneous versus "wait and wait and still waiting...".

PUPs which don't have this are plagued with an ever growing problem
All of us are storing so much data which only continues to grow. Most all users do NOT throw useful data away. Today, technology has benefited all with the ability to capture video, photos, sound, as well as the traditional quasi-print matter, electronically. For so many of us, we have HUGE drives with lots and lots of data. To find anything in other PUPs has been a wait!

The presentations in this thread, removes that barrier for everyone.

Thanks to ALL of the work done currently in this thread, by everyone. I do NOT see any work, here, as competing, rather, I see it as complimentary and potentially collapsing into a singularity for all future PUPs.

Edited: some of the grammar corrections

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile

Last edited by gcmartin on Tue 21 Apr 2015, 16:52; edited 5 times in total
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Tue 21 Apr 2015, 15:47    Post subject: Should a PET result  

Tested on Just-Lighthouse64

Terminal messages, below (fake.gz) show 1st use with no results and subsequent use with results.

Idea
If any PET is the outcome (for WOOFCE use, say) I have one request.

Since EVERY developer from time to time (probably more often than most users) need to search for files in their domains, and since this is one of those things that is done almost daily (hourly for some), could this PET land an icon on the PUPPY taskbar for immediate launch and use? There may even be a better place.

Just a thought I think is useful to all.
slocategui3 messages.txt.fake.gz
Description  Download, remove the "fake.gz" extension to see console messages generated by the script's use on JLH64
gz

 Download 
Filename  slocategui3 messages.txt.fake.gz 
Filesize  10.8 KB 
Downloaded  143 Time(s) 

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engines or use DogPile

Last edited by gcmartin on Tue 21 Apr 2015, 16:46; edited 1 time in total
Back to top
View user's profile Send private message 
musher0

Joined: 04 Jan 2009
Posts: 14305
Location: Gatineau (Qc), Canada

PostPosted: Tue 21 Apr 2015, 16:35    Post subject:  

Wise words, gc ! Smile
_________________
musher0
~~~~~~~~~~
Je suis né pour aimer et non pas pour haïr. (Sophocle) /
I was born to love and not to hate. (Sophocles)
Back to top
View user's profile Send private message 
stemsee

Joined: 27 Jun 2013
Posts: 2453
Location: In The Way

PostPosted: Mon 27 Apr 2015, 03:05    Post subject:  

@smokey01

My new script seems to index all files across all drives into one database! I discovered by doing ' slocate -U --output=/var/lib/slocate/slocate.db' But you must not exclude /mnt (as musher0 has) otherwise his system might acheive the same. I actually had the db on a usb so 'slocate -U --output=/mnt/$path/slocate.db' this db had all files from itself and the main system which was on sda5.
Back to top
View user's profile Send private message MSN Messenger 
Display posts from previous:   Sort by:   
Page 11 of 13 [184 Posts]   Goto page: Previous 1, 2, 3, ..., 9, 10, 11, 12, 13 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0839s ][ Queries: 12 (0.0380s) ][ GZIP on ]