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 Mon 29 May 2017, 05:52
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
pFind 6.2-1
Post new topic   Reply to topic View previous topic :: View next topic
Page 45 of 47 [697 Posts]   Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47 Next
Author Message
B.K. Johnson

Joined: 12 Oct 2009
Posts: 544

PostPosted: Sat 19 Dec 2015, 00:50    Post subject:  

zigbert
Forgive me for being a PITA. After this, I'll shut up. Laughing
The hope was that there would be no need to switch to another program after using pfind.

You wrote:
Quote:
To add the long path to the 'execute command' field, just drag the folder from rox into the field.


This would have been ideal but it doesn't work for me Sad because my path has spaces in it. Enclosing the path in quotes doesn't work either. Crying or Very sad

_________________
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 
don570


Joined: 10 Mar 2010
Posts: 4579
Location: Ontario

PostPosted: Sat 19 Dec 2015, 17:44    Post subject:  

some suggestions:





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

Joined: 12 Oct 2009
Posts: 544

PostPosted: Sat 19 Dec 2015, 21:40    Post subject:  

I must be sniffing too much of that alcoholic Christmas spirit in the air why you guys don't get my point.
In pFind, say I enter celine in the search window, click on the Advanced button and set the File and Sound check boxes before clicking the Search button. pFind returns a list of songs from which I can select (highlight). Among the options given when I right-click are Copy, Move and Link. The Copy option allows the user to navigate to a destination directory using the File Manager. This is not provided for neither the Move or Link options; one has to type in the path, a cumbersome, old-fashioned procedure fraught with typing errors. Clearly, this is a "design flaw" and I use that term loosely and benevolently Razz . So, when I made my post, the desire was to place a selected number of symlinks in a directory. From VLC or Deadbeef I could select that directory to play. Perhaps my allusion to playlist has thrown both zigbert and you don570 off kilter. I wasn't looking for a file with a list of files nor a standard playlist.

_________________
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 
anewuser

Joined: 05 Feb 2012
Posts: 69

PostPosted: Sat 19 Dec 2015, 22:18    Post subject:  

Will pFind ever work along puppy's locate? Just curious.

No issues whatsoever with pfind, it works as it is. Just some cosmetics configurations that would help fit all info into the screen, such as a pop up windows instead of horizontal scroll bars to get path and filenames with in the work space area.
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4579
Location: Ontario

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

I've been modifying my Bulldog finder program to do a search for text 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.

I think I'll put a button that says 'Search for text' in window.

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 
zigbert


Joined: 29 Mar 2006
Posts: 6416
Location: Valåmoen, Norway

PostPosted: Sun 27 Dec 2015, 11:14    Post subject:  

Please bring up any ideas you get.
pFind is not on my priority list right now, but when time comes, I scan this thread for ideas and requests.

Thank you
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 4579
Location: Ontario

PostPosted: Mon 28 Dec 2015, 12:11    Post subject:  

I posted bulldog finder 4.0 . It has 'Search for text' feature.
It works well but it takes about 15 seconds to search through
several hundred files.

It wasn't too hard to do since I already had a list of files to search .

If you were to do the same thing then you would first have to create a list
of selected files like I did.
___________________________________________________________
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 4579
Location: Ontario

PostPosted: Tue 12 Apr 2016, 20:00    Post subject:  

I was just told by James Bond that pfind temp files aren't deleted between
boots. Is it possible to include a script in pet package to do the job?

____________________________________________________
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6416
Location: Valåmoen, Norway

PostPosted: Wed 13 Apr 2016, 01:36    Post subject:  

That's true
What is the problem?

Check out the files in
/root/.pfilesearch/tmp/
/root/.pfind/tmp/

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 4579
Location: Ontario

PostPosted: Wed 13 Apr 2016, 12:57    Post subject:  

I am currently using fatdog arm which uses a very old version of pfind
pfind-4.21-noarch-1.tbz
pfilesearch-1.35-noarch-1.tbz

and I noticed that the search results stayed in /tmp

I rebooted and they were still there.
I assume that a change has been made in current version.

So James Bond suggested I write a script to remove them.

(Actually I am making a zip archive of the fatdog arm OS and I am removing
all the fluff from the archive to make the archive size as small as possible
to distribute to the forum.
It's around 300mb but perhaps I can reduce it a bit.
That's why I became interested in /tmp.
I found that the fatdog arm OS can be installed by simply dragging the files
out of the zip archive to an SD card. Neat!!)

Also I want to get rid of background images, so I came up with new method
of creating a background image during bootup phase.
http://www.murga-linux.com/puppy/viewtopic.php?t=106428



________________________________________________________
Back to top
View user's profile Send private message 
live

Joined: 10 Feb 2010
Posts: 220

PostPosted: Fri 15 Apr 2016, 13:14    Post subject:  

Features request.
1/ Add the ability to compute MD5, SHA256 signature to the search result (after the results are shown)

why?
Because one may search on files, come with a bunch of result and wonder which are true copies.

2/ Dump the search result as it comes, as sometimes one search on a large content, but as soon as one sees the result it's no more necessary to continue the search.

Thanks
Back to top
View user's profile Send private message 
Sailor Enceladus

Joined: 22 Feb 2016
Posts: 1080

PostPosted: Thu 21 Apr 2016, 16:36    Post subject:  

Some issues with searching by date have been reported here:
http://www.murga-linux.com/puppy/viewtopic.php?p=899955#899955
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 6416
Location: Valåmoen, Norway

PostPosted: Fri 22 Apr 2016, 14:16    Post subject:  

live wrote:
2/ Dump the search result as it comes, as sometimes one search on a large content, but as soon as one sees the result it's no more necessary to continue the search.
This is not possible atm.
_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6416
Location: Valåmoen, Norway

PostPosted: Fri 22 Apr 2016, 14:16    Post subject:  

Sailor Enceladus wrote:
Some issues with searching by date have been reported here:
http://www.murga-linux.com/puppy/viewtopic.php?p=899955#899955
Looking at it
_________________
Stardust resources

Last edited by zigbert on Sun 24 Apr 2016, 16:36; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 6416
Location: Valåmoen, Norway

PostPosted: Fri 22 Apr 2016, 14:55    Post subject:  

B.K. Johnson wrote:
You wrote:
Quote:
To add the long path to the 'execute command' field, just drag the folder from rox into the field.


This would have been ideal but it doesn't work for me Sad because my path has spaces in it. Enclosing the path in quotes doesn't work either. Crying or Very sad
The solution is to use a backslash in front of the space:
Code:
/root/path\ to\ somewhere


Sorry for the too late answer

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 45 of 47 [697 Posts]   Goto page: Previous 1, 2, 3, ..., 43, 44, 45, 46, 47 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.1129s ][ Queries: 14 (0.0139s) ][ GZIP on ]