Page 28 of 38

bugs in pfind 5.10

Posted: Fri 11 Jan 2013, 13:16
by Dromeno
My girlfriend and I just tested the 5.10 version (lucid puppy 528005)

We found that it can not copy all files which it finds. We wanted pfind to search a drive for a couple of doc, pdf and ppt files with the same word in the filename, then copy those to a new directory

In this case, .ppt files were found but not copied

plus: the folder icon in the pfind copy action didn't do anything, we had to enter the path to the destination directory by copy&paste

Posted: Sat 12 Jan 2013, 20:01
by zigbert
Dromeno
Thank you for the feedback.
I have fixed the folder-button.

When it comes to the copying itself, I can't find the bug. I need more input.
I set up a test, and it copying worked as expected.

Image

top 100

Posted: Sun 13 Jan 2013, 12:58
by Dromeno
Hi Zigbert,

Thanks for your quick fix. I don't know yet what the problem with the ppt files can be but it is likely in their names (most linux filemanagers can find but not copy files with uncommon characters in their names, it would be much handier if such characters were just replaced with something else)

unrelated: in order to clean up and reorganize a file systems it can be handy to have a kind of enhanced gdmap or treesize. Treesize crashes when dirs are too large, it often can not be used for entire disks. Windirstat (portable windows app) can. I know that windirstat is derived from a linux app named kdirstat but there is no kdirstat for puppy that I know of. But even if there was it would not come with a function which I often use in TuneUpUtilities Diskexplorer on a windows machine: this program can produce a top 100 list of largest files/directories in a given dir or disk.

This would be a great help when you are confronted with a rapidly filling 2fs but don't know which file it is which is.causing the trouble

Is it difficult/possible to add a top 100 largest dir/files in pfind?

Posted: Sun 13 Jan 2013, 15:28
by zigbert
Dromeno
Find the latest big files in pupsave should be something like this

Image

Sort search-result by size by clicking the list-header.


Sigmund

Posted: Thu 17 Jan 2013, 09:05
by zigbert
Version 5.1.1
See main post

Changelog
- Bugfix: Choose folder button in move and copy dialog. (thanks to Dromeno)

Posted: Mon 04 Mar 2013, 15:13
by sfeeley
I'm using Lucid 5.28. I am using the pfind that came preinstalled. (I think v 4.22?)

When I search for text in a file I've noticed that the results are not showing .pdf and .docx files.

(the .pdf files do contain searchable text. )

My questions:
1) is there a way to make my current pfind search within .pdf and .docx files?
2) Do I need to upgrade pfind? (if so, how and where do I find the proper gtkdialog, and will this break other things on my system?)
3) Is there a different program that I should install? (I have very little luck with searchmonkey )

I also posted a similar question on the beginner thread, but was advised to come here:
http://www.murga-linux.com/puppy/viewto ... 690dc4c63f

Posted: Wed 06 Mar 2013, 15:23
by sfeeley
I updated to pfind 5.11
(along with an updated gtkdialog and pfilesearch-- both required)

The search results did not change.
Pfind would not search for text within .pdf and .docx files

other suggestions?

Posted: Thu 07 Mar 2013, 07:32
by zigbert
sfeeley
It would be great to search inside docx, pdf and other 'closed' formats like ps, odt and sxw. I don't have the knowledge at the moment. Anyone?

pfind searches inside doc, abw and rtf which is 'open' in the term that grep reads the text.


Sigmund

Posted: Thu 07 Mar 2013, 13:56
by sfeeley
Thanks for the reply Zigbert-- so it seems that there is not an easy solution already out there using pfind that I am missing?

Oh well-- its a shame since I like the speed simplicity and integration of pfind in puppy.

For others interested, I've started playing with docfetcher .
http://docfetcher.sourceforge.net/en/index.html
Its available as a portable linux program. It can search the contents of files, and has a handy preview screen. The downside is that it is pretty big (40megs) plus requires Java (I use the sfs). It works by indexing files, but the user has good control about what directories are indexed and when, and the indexes are easy to delete if size is an issue. Since its not native to puppy, I haven't figured out how to launch applications by clicking the search results.

In sum, not a perfect solution, and I am still using pfind for quick searching of directories. I look forward to following pfind's progress in the future

Posted: Thu 07 Mar 2013, 14:51
by Semme
Zigbert- perhaps you could incorporate this routine. It requires the assistance of pdfgrep:

Code: Select all

find /path -iname '*.pdf' -exec pdfgrep pattern {} +
Sfeeley- if it's not obvious, you adjust *path* and *pattern* arguments to suit.

Keep in mind to quote wrap any pattern with spaces.

Proofed :wink: on 5.2.8.

Posted: Thu 07 Mar 2013, 15:20
by L18L
Zigbert- perhaps you could incorporate this routine. 8)

see http://murga-linux.com/puppy/viewtopic.php?t=81395 please

Or just using that script might be useful for you.

Posted: Thu 07 Mar 2013, 15:38
by Semme
Showoff. :D:wink:

Posted: Fri 08 Mar 2013, 18:59
by sfeeley
Semme, Thanks-- I'm not at a puppy computer, but I'll take a look at it when I can. I appreciate how helpful the forums are :D

Posted: Fri 08 Mar 2013, 19:10
by zigbert
I wonder....
Would it be possible to convert docx, pdf, sxw, odt, ... files to txt and then use grep? Yes, of course it is, but we want more...
...This must in done in cli. Preferable with the libs already inside the Puppy iso. How does Abiword convert these? Can we use the same techinque?


Sigmund

Find has a useful option

Posted: Sat 09 Mar 2013, 19:20
by don570
Find has a useful option

Code: Select all

-not  -type d
to avoid listing directory names.

I'm using this in Bulldog finder

.

Tell me the name of that search tool

Posted: Mon 20 May 2013, 11:06
by Pelo
37 pages ! i use a lot Pfind, which is the tool.
Other tools are available, especially this one : you are somwhere in a directory, you right click your mouse, et choose find. YOU get that search tool. What's its name. I dont understand how to use it .

Tell me the name of that search tool.... and how to use it ?

Merci beaucoup messieurs. Now, I explore these0 37 pages. Without any doubt, there is something to learn. Have a nice and sunny afternoon. Here, it's raining again...

to find a text in a pdf file ????? !!!!

Posted: Mon 20 May 2013, 11:13
by Pelo
to find a text in a pdf file ????? !!!!
I you have it, tell me ! Does it exist ? it's for my job. Merci. :roll:

Posted: Mon 20 May 2013, 11:22
by Semme
Pelo- see if this script fits the bill..

search in pdf : puppy linux does it !

Posted: Mon 20 May 2013, 11:47
by Pelo
I explain my job ; i have my ... 500 machines controlled once a year.
My controlling society mails me the reports under pdf format for each one.
But the number of the machine does not appear anywhere else that inside the report.
I have to open each report to know what machine is concerned.
MY firm is a big one with adobe, pdf, word,excel and tutti quanti

Puppy linux woud find inside pdf the machine number ? Ouah !

Re: Tell me the name of that search tool

Posted: Tue 02 Jul 2013, 09:11
by disciple
Pelo wrote:37 pages ! i use a lot Pfind, which is the tool.
Other tools are available, especially this one : you are somwhere in a directory, you right click your mouse, et choose find. YOU get that search tool. What's its name. I dont understand how to use it .

Tell me the name of that search tool.... and how to use it ?
I presume your file manager is rox (usually standard in Puppy). If this is correct, you are talking about rox's built-in search feature. The button to the right of the "expression" field will give you some help on it. There may be more help in the rox manual.