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 Fri 01 Aug 2014, 02:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Filesystem
Pfind 5.13
Post new topic   Reply to topic View previous topic :: View next topic
Page 37 of 39 [582 Posts]   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39 Next
Author Message
Dromeno

Joined: 12 Sep 2008
Posts: 534

PostPosted: Fri 11 Jan 2013, 09:16    Post subject: bugs in pfind 5.10  

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


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

PostPosted: Sat 12 Jan 2013, 16:01    Post subject:  

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.


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

Joined: 12 Sep 2008
Posts: 534

PostPosted: Sun 13 Jan 2013, 08:58    Post subject: top 100  

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


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

PostPosted: Sun 13 Jan 2013, 11:28    Post subject:  

Dromeno
Find the latest big files in pupsave should be something like this



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


Sigmund

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


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

PostPosted: Thu 17 Jan 2013, 05:05    Post subject:  

Version 5.1.1
See main post

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

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

Joined: 14 Feb 2010
Posts: 807

PostPosted: Mon 04 Mar 2013, 11:13    Post subject:  

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/viewtopic.php?t=84761&sid=31e49e31cbe8e8ae46bc09690dc4c63f
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Wed 06 Mar 2013, 11:23    Post subject:  

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


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

PostPosted: Thu 07 Mar 2013, 03:32    Post subject:  

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

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

Joined: 14 Feb 2010
Posts: 807

PostPosted: Thu 07 Mar 2013, 09:56    Post subject:  

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

Joined: 07 Aug 2011
Posts: 3591
Location: World_Hub

PostPosted: Thu 07 Mar 2013, 10:51    Post subject:  

Zigbert- perhaps you could incorporate this routine. It requires the assistance of pdfgrep:
Code:
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.
Back to top
View user's profile Send private message 
L18L

Joined: 19 Jun 2010
Posts: 2505
Location: Burghaslach, Germany somewhere also known as "Hosla"

PostPosted: Thu 07 Mar 2013, 11:20    Post subject:  

Zigbert- perhaps you could incorporate this routine. Cool

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

Or just using that script might be useful for you.
Back to top
View user's profile Send private message 
Semme

Joined: 07 Aug 2011
Posts: 3591
Location: World_Hub

PostPosted: Thu 07 Mar 2013, 11:38    Post subject:  

Showoff. Very HappyWink
Back to top
View user's profile Send private message 
sfeeley

Joined: 14 Feb 2010
Posts: 807

PostPosted: Fri 08 Mar 2013, 14:59    Post subject:  

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 Very Happy
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Fri 08 Mar 2013, 15:10    Post subject:  

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

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


Joined: 10 Mar 2010
Posts: 3221
Location: Ontario

PostPosted: Sat 09 Mar 2013, 15:20    Post subject: Find has a useful option  

Find has a useful option

Code:
-not  -type d


to avoid listing directory names.

I'm using this in Bulldog finder

.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 37 of 39 [582 Posts]   Goto page: Previous 1, 2, 3, ..., 35, 36, 37, 38, 39 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.0884s ][ Queries: 13 (0.0137s) ][ GZIP on ]