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 Sun 22 Oct 2017, 08:01
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
FileFinder - a filename search tool
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Sun 20 Dec 2015, 19:50    Post subject:  FileFinder - a filename search tool  

Project withdrawn.
Last edited by rcrsn51 on Wed 24 May 2017, 14:01; edited 65 times in total
Back to top
View user's profile Send private message 
ebisu

Joined: 25 Sep 2013
Posts: 173

PostPosted: Sun 20 Dec 2015, 21:31    Post subject:  


Last edited by ebisu on Mon 01 Aug 2016, 03:54; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Sun 20 Dec 2015, 22:03    Post subject:  

I have posted v1.1 to address this. In the config file, you must enclose the path in quotes.

Please test.

Last edited by rcrsn51 on Sun 20 Dec 2015, 22:06; edited 1 time in total
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 20 Dec 2015, 22:05    Post subject:  

Thanks @Rcrsn51

I know you hate it when I make ANY suggestion to help. But, here's another idea: Once the list is created, might you consider a button to open the list from the utility's screen? Or an option to open the list upon exit/quit?

If you find favor, I'm sure it will surface in the PET's future.

_________________
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
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Sun 20 Dec 2015, 22:10    Post subject:  

gcmartin wrote:
I know you hate it when I make ANY suggestion to help.

What I hate are feature requests in lieu of test reports. You should appreciate how early-stage testing is supposed to work.

I will consider your suggestion.
Back to top
View user's profile Send private message 
ebisu

Joined: 25 Sep 2013
Posts: 173

PostPosted: Sun 20 Dec 2015, 22:48    Post subject:  


Last edited by ebisu on Mon 01 Aug 2016, 03:54; edited 1 time in total
Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Sun 20 Dec 2015, 22:56    Post subject:  

To avoid what you consider feature request in the future, the opening might indicate that you have no interest in ideas which might improve the experience.

i didn't see one such statement, so I offered something for your review.

I should have mentioned that I did test your 1.0 PET on a TahrPUP32-604 and basic operations tested, worked.

Here to help.

_________________
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
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Sun 20 Dec 2015, 23:01    Post subject:  

ebisu wrote:
TMPLOCATION problem solved.

Excellent.

Quote:
"The Copy button copies all the files in the list to a temporary folder named FIND2LIST" It does not copy "all" files. Files with identical names are overwritten.

Do you mean if the same file was found in two different locations? That's getting complicated. I will consider the problem.

Quote:
Even when search does not find any files the message "Search completed" appears. It would be tremendously helpful to know that the search was not succesful.

That's because the "find" command returns an error code of 0 even if it doesn't find anything. But if I implement gcmartin's suggestion of a View button, you can quickly check the results of the search.

Quote:
Also clicking on "copy" shows the "All files in list copied.." dialog. OK, zero files are in the list and zero files were copied, in this sense it is not a lie, but misleading.

Having quick access to the list should help this.

Thanks for your test reports. I am particularly interested in the results of using more complicated search patterns.
Back to top
View user's profile Send private message 
ebisu

Joined: 25 Sep 2013
Posts: 173

PostPosted: Mon 21 Dec 2015, 05:36    Post subject:  


Last edited by ebisu on Mon 01 Aug 2016, 03:55; edited 1 time in total
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Mon 21 Dec 2015, 10:42    Post subject:  

ebisu wrote:
If the success dialog would contain the number of matches then the user can decide if it is worthwhile to view the list and see what has been added. If the dialog informs the user that nothing has been found then he can try with a different pattern instead of wasting time with examining the list.

Agreed. See v1.2

I have also switched from pattern-matching to keyword-searching. This allows more options.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4718
Location: Ontario

PostPosted: Mon 21 Dec 2015, 14:26    Post subject:  

I'll test version 1.2 as well and report back.

I've been modifying my Bulldog finder program to do a search in a file list.

So far it's very fast and seems useful. Here's my script so far.
I use 'while read LINE' to go line by line through the list of pathnames.
I found that the list of path names must end with a line ending character
or else the final path name won't be processed.

Code:

#!/bin/sh
rm -r /tmp/bulldogsearch.txt
[ !  -s  /root/list.txt ] &&  xmessage  "zero size file" && exit 0 

echo "" >> /root/list.txt  # file must end  with  line ending
cat /root/list.txt |
while read LINE  # go through list of files on hit list
do
echo LINE= $LINE
grep -i -H -n 'some_text'   "$LINE"   >> /tmp/bulldogsearch.txt

done
echo +++++++++++++++++++++++++++++++++
cat  /tmp/bulldogsearch.txt

exit 0
Back to top
View user's profile Send private message 
B.K. Johnson

Joined: 12 Oct 2009
Posts: 634

PostPosted: Mon 21 Dec 2015, 20:30    Post subject:  

@gcmartin
You wrote:
Quote:
might you consider a button to open the list from the utility's screen? Or an option to open the list upon exit/quit?

We differ on this feature request. After we have thoroughly tested that the program works as it ought to, I cannot think of any reason to routinely see the list, Should I at any time later (after test phase), want to look at the list I have my file manager and other standard tools. Can you say why you would want to have this feature?

It would be useful during the testing phase, but not as a feature IMHO.

_________________
B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM

Back to top
View user's profile Send private message 
gcmartin

Joined: 14 Oct 2005
Posts: 6730
Location: Earth

PostPosted: Mon 21 Dec 2015, 21:54    Post subject:  

B.K. Johnson wrote:
... It would be useful during the testing phase ... IMHO.
Yes. but, again, this is Randy's application, not ours. We do what we can to help.
_________________
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
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Wed 23 Dec 2015, 09:33    Post subject:  

Find2list v1.4 reports the total size of the files in the list before doing a Copy operation.
Back to top
View user's profile Send private message 
rcrsn51


Joined: 05 Sep 2006
Posts: 11638
Location: Stratford, Ontario

PostPosted: Thu 24 Dec 2015, 22:33    Post subject:  

Version 1.5 posted above. See the note about changing the name of the output file.

In v1.5 you can quickly run a search by making a desktop shortcut and dragging the target folder onto the find2list icon.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
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.1495s ][ Queries: 12 (0.0106s) ][ GZIP on ]