pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#616 Post by zigbert »

live wrote:V. A metatag search possibility.
Extremely slow, and I don't think it is suitable for pFind.
pMusic on the other hand is already made for this.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#617 Post by zigbert »

live wrote:VI. pfilesearch preferences window,
* if you could increase its width, it would be clearer to view which container are taken into account.
This is already done for pFilesearch 2.0

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#618 Post by zigbert »

live wrote:I would add:
* for audio: m4b, opus, vorbis
* for video: mp4, mkv, webm
* for code: css
Me to - thanks ;)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#619 Post by zigbert »

live wrote:VII. Food for thoughs http://stefanstools.sourceforge.net/grepWin.html
Your specific thoughts are more valuable to me.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

Re: search on date input a file located along a symlink

#620 Post by charlie6 »

Hi Sigmund,
many thanks for your exhaustive answer as also for your steady kindness for answering !
zigbert wrote:Follow symlink is troublesome for find because of this loop-issue. If a symlink ie in /mnt/home is pointing back to / - we got the loop running. This is why follow symlink is not the default option in pFind.
Yep ! i've found number of symlinks in my pupsave file:
/sys/bus/i2c/devices/i2c-0 pointing to /sys/devices/pci0000:00/0000:00:1f.3/i2c-0
/sys/bus/i2c/devices/i2c-1 pointing to /sys/devices/pci0000:00/0000:00:1f.3/i2c-1
etc...
I don't know if this is specific to my pupsave story (ca. 2 years old :roll: ) ??? So I 'll get a try on a fresh pupsave. Or maybe run pfind from a live-cd session and scanning my mounted pupsave file ...?

Here are message from terminal while running pfind with "Follow symlinks" activated:
...
find: File system loop detected; `/sys/bus/i2c/devices/i2c-0/device/subsystem/devices/0000:00:02.0/firmware_node/device:03/subsystem/devices/PNP0303:00/physical_node/subsystem/devices/00:0b/tty/ttyS0/subsystem/ttyS2/device/subsystem/devices/i8042/serio0/input/input0/event0/subsystem/event5/device/device/subsystem/devices/1-6/1-6.1/driver/1-6.2/1-6.2:1.0/host3/scsi_host/host3/subsystem/host0/device/target0:0:0/subsystem/devices/target1:0:0/1:0:0:0/bsg/1:0:0:0/subsystem/2:0:0:0/device/scsi_disk/2:0:0:0/subsystem/3:0:0:0/device/block/sdc/sdc1/subsystem/ram10/bdi/subsystem/7:4/subsystem' is part of the same file system loop as `/sys/bus/i2c/devices/i2c-0/device/subsystem/devices/0000:00:02.0/firmware_node/device:03/subsystem/devices/PNP0303:00/physical_node/subsystem/devices/00:0b/tty/ttyS0/subsystem/ttyS2/device/subsystem/devices/i8042/serio0/input/input0/event0/subsystem/event5/device/device/subsystem/devices/1-6/1-6.1/driver/1-6.2/1-6.2:1.0/host3/scsi_host/host3/subsystem/host0/device/target0:0:0/subsystem/devices/target1:0:0/1:0:0:0/bsg/1:0:0:0/subsystem/2:0:0:0/device/scsi_disk/2:0:0:0/subsystem/3:0:0:0/device/block/sdc/sdc1/subsystem/ram10/bdi/subsystem'.
find: File system loop detected; `/sys/bus/i2c/devices/...
Date:
- I guess you are aware of that atime is access time - ctime is create time.
- I am not familiar with the date format MM/JJ/AAAA, but in english it is MM/DD/YYYY as Month/Date/Year.
- More info if you hover the date-area. A tooltip box will show.
sorry ...I'd better write MM/DD/YYYY ... :wink:
- Have you tested the date-match from 01/01/1970 - today
yes ==>> see the terminal messages quoted above.

Cheers, Charlie
Attachments
loop_2015-02-04(1).png
(47.19 KiB) Downloaded 342 times

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#621 Post by rg66 »

I was trying to change Default File Manager in preferences to exo-open and it wouldn't changed, kept getting this error

Code: Select all

# pfind
xwininfo: error: No window with name "pFind 6.1 - File finder" exists!
/usr/local/pfind/func: line 75: -: syntax error: operand expected (error token is "-")
Changed line 68 in /usr/local/pfind/func to XWININFO="`xwininfo -name "pFind $VERSION - $(gettext 'File finder')"`"
It's working now, looks like -stats was causing the issue.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

User avatar
rg66
Posts: 1158
Joined: Mon 23 Jul 2012, 05:53
Location: Vancouver, BC Canada / Entebbe, Uganda Africa!?!

#622 Post by rg66 »

rg66 wrote:Changed line 68 in /usr/local/pfind/func to XWININFO="`xwininfo -name "pFind $VERSION - $(gettext 'File finder')"`"
It's working now, looks like -stats was causing the issue.
Looks like it wasn't -stats because it's broken again, not sure what else I did but it was working briefly. Tried in slacko-6 to make sure it wasn't anything in X-slacko but same error.
X-slacko-5b1 - X-tahr-2.0 - X-precise-2.4
[url=http://smokey01.com/rg66/]X-series repo[/url]

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#623 Post by live »

II. How did you get the nice grey background color of your screenshots?

From my alternative desktop manager (for jwm)
http://murga-linux.com/puppy/viewtopic.php?p=794783
What about having a common configuration files for all puppy apps (pfind, pEasyDisk, pMusic, etc.

live wrote:
I would add:
* for audio: m4b, opus, vorbis
* for video: mp4, mkv, webm
* for code: css
Me to - thanks ')
For doc: csv as well
V. A metatag search possibility.
Extremely slow, and I don't think it is suitable for pFind.
pMusic on the other hand is already made for this.
pMusic>Advanced search
How do search on image comments exif tag?
FYI:
http://stackoverflow.com/questions/1486 ... nt-matches
http://photo.stackexchange.com/question ... erture-etc

(I compiled and uploaded Exiftool 9.82 which recently got some fixes on Unicode issues I reported)
VI. pfilesearch preferences window,
* if you could increase its width, it would be clearer to view which container are taken into account.
This is already done for pFilesearch 2.0
:)
VII. Food for thoughs http://stefanstools.sourceforge.net/grepWin.html
Your specific thoughts are more valuable to me.
So you want some work ')
Good.

* STORED list of last 8(?) searched paths (also for pMusic advanced search)
* STORED list of last 8(?) file type match or exclusion (minus operator)
(Personnaly, I often do "*.htm*|*.txt" OR "*.htm*|*.xls|*.csv|*.txt" )
* search option skip new lines (\n \r )
* search option skip multiple skip blank (\t)
* match search option to search on apps only - let's dream that on day, we'll get voice recognition it will pipe to pfind to launch the app.
* In case Puppy goes to tablet have a portrait search were left and right pane are replace by horizontal one and larger buttons for touch screen input.
* I haven't tested if they are encoding issue such iso-latin1, utf-8, utf-16
* see also https://code.google.com/p/grepwin/issue ... %20Summary

>Your specific thoughts are more valuable to me.
Enough? :)

Possibly, next month I'll have some time to hack pfind code and see what I can do.

Thanks

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#624 Post by zigbert »

rg66 wrote:I was trying to change Default File Manager in preferences to exo-open and it wouldn't changed, kept getting this error.
Fixed in next release - thank you.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#625 Post by zigbert »

live wrote:
V. A metatag search possibility.
Extremely slow, and I don't think it is suitable for pFind.
pMusic on the other hand is already made for this.
pMusic>Advanced search
How do search on image comments exif tag?
By default, pMusic stores metainfo to search-db when playing song.
To get all metainfo into the db at once, use the indexer tool. When done, searching for metainfo is speedy.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#626 Post by zigbert »

live wrote:* STORED list of last 8(?) searched paths (also for pMusic advanced search)
Be aware that pMusic share the same filesearch engine with pFind and pBurn - pFilesearch.

I really like the idea to store the last search options, but it requires a LOT of work :) Let's see what future brings...

Welcome to hack the code.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#627 Post by zigbert »

* match search option to search on apps only - let's dream that on day, we'll get voice recognition it will pipe to pfind to launch the app.
This one should be easy if we are talking about gui-apps. They are all in /usr/share/applications/
Maybe this could be included as another group beside documents, images, ...

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#628 Post by zigbert »

* In case Puppy goes to tablet have a portrait search were left and right pane are replace by horizontal one and larger buttons for touch screen input.
It is not hard to solve for pFind, but first Puppy needs a mechanism to manage the gyro.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#629 Post by don570 »

Version 6.1 is working well in April64 8)

geometry feature is cool.

_______________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#630 Post by zigbert »

Version 6.2
See main post


Changelog
- Preferences: show only available apps in the commands tab.
- Bugfix: Save preferences. (thanks to rg66)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#631 Post by zigbert »

If we got fixed those pfind-6-related bugs we are ready to move on
- store search options to a history db
- search apps (this belongs to pfilesearch)

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#632 Post by smokey01 »

zigbert, what will you use to create your history file?

Will it be text based or something like locate/slocate/mlocate?

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#633 Post by zigbert »

smokey01 wrote:zigbert, what will you use to create your history file?

Will it be text based or something like locate/slocate/mlocate?
The history is not intended to keep the search-result, but the previous used find-commands.

Sigmund

live
Posts: 223
Joined: Wed 10 Feb 2010, 21:04

#634 Post by live »

@zigbert

Request for features:

1/ ability to search text on specific file type,
For instance "text_search" [AND] *.pdf does not do the job.
Or course, you can say that there are match profiles, but there will always be a file type not in the list or you want just for instance *.pdf and no other doc type to limit search.

2/ Pfind results add a column with extensions, so that one can sort of file type for instance txt, pdf, doc, etc.

Request for changes:
1/ Move the directory search directly under text search, as path may be quite long, it between searches it may be usefull to keep a direct eye contact on which path the search takes places

This was so in pfilesearch 1.28, thought the text area was too short.

2/ Provide the results as they come out.
Indeed, this is to cut long search, as sometimes you haven't the foggiest idea where your put your damn file and need to search from top root, but as soon as you see the right file you can stop the search.

3/ I would put "code files", just under documents, as they're a kind of doc.


I cast a look at the code to propose some modifications to send, as I'm not familiar with this environnement, which tool do you use to generate the GUI code?

Thanks for your work

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#635 Post by don570 »

2/ Pfind results add a column with extensions, so that one can sort of file type for instance txt, pdf, doc, etc.
The SVG icons on left side are a good alternative.
For example: Image files are shown by clicking landscape icon.

___________________________________________

The feature I want is ---> When a text file on hit list is opened by Geany
(using the menu item that pfind supplies)

I want Geany to open the actual file rather than the temporary link.
That way the heading at the top of Geany window will have the true location
rather than the link's location.

_______________________________________________

Post Reply