pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#526 Post by don570 »

another bug:

When I tried a delete from the action menu I was warned with
'no file exists' whereas the right click feature did work.

_____________________________________________________

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

#527 Post by zigbert »

don570
I see the need of a better example, because you have not understood how it works...... There is no option to filter what files to act on in the execute function. It will act on EVERY file in the list (or the files that are selected). [FILE] should not be replaced by any other word/expression, but has to be included in then execute command as '[FILE]'.

rm [FILE]
will remove every (selected) file in search-result-list.

In pFind 5.10, it looks like this:
Image

Feedback wanted!
Sigmund

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

#528 Post by zigbert »

don570 wrote:another bug:

When I tried a delete from the action menu I was warned with
'no file exists' whereas the right click feature did work.

_____________________________________________________
Checked in 5.10, and it all seems fine.


Sigmund

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

#529 Post by don570 »

You should post pfind 5.10 if you want me to test it this weekend.

___________________________________________________

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

#530 Post by zigbert »

Version 5.10
See main post

Note!
This one requires gtkdialog-0.8.2


changelog
- Bump dependency to gtkdialog 0.8.2 (thanks to thunor)
- Sort from headers rather than from menu. (thanks to thunor)
- Removed the limitation MAX_LIST_ITEMS. (thanks to thunor)
- Update hit-list after rename, trash, delete
- Syntax improvement in execute command dialog. (thanks to don570)
- Show which files that will be affected for copy/move/execute (thanks to don570)
- Bugfix: Show correct errormessage for actions (thanks to don570)

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#531 Post by Master_wrong »

thank you for the extra option to copy files which are found. this can really help creating sfs

I use this to create my sfs.
1. change date to the future
2. compile program
3. change back the date
4. pfind all files which created/changed during the compile date then copy (which i used my own script) into newfolder
5. check content of newfolder and make it sfs

obviously this make creating sfs more easy.

btw did this program properly copy "link" ? or does it copy the "linked files" ?

thanks again
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

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

#532 Post by zigbert »

Master_wrong
Thank you for the sfs-building advice.

The copying does not follow symbolic links. - Links are links.
If you want to copy the actual file, you should use the 'execute command' fucntion instead. cp -H [FILE] /destination/path should give you the file rather than the link.


Sigmund

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

#533 Post by don570 »

I see where I was wrong with Action > Execute a command

I was putting a demonstation file in /root and then executing
a command using the filename only. The command would work
because the PWD was /root. :oops:

It wouldn't work if the demonstration file was located anywhere else.

_______________________________________________

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

#534 Post by don570 »

I tested version 5.10 and everything worked including links ,copying
and moving.

I have a couple of suggestions and a couple of small bugs.

First of all, here is my suggestion for the window to execute a command.
Using FILELIST rather than FILE might make the instructions easier
and a reminder that cut and paste is possible as well.

Image

____________________________________

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

#535 Post by don570 »

My second suggestion is to get rid of a feature.

When you first right click on a file on the hitlist, this menu pops up

Image

However 'Send to trash' sends all files to trash. I think it
would be better to use 'Execute a command' --> rm [FILELIST]
to delete all the files simultaneouly.

The first time a user right clicks on a hit list, you have assumed that
the user wants to select all the files. However this isn't a method
that any other program uses to select all the files in a list and it
makes right clicking on an individual file difficult and confusing.

It would be better to go back to the old method of right clicking on
an individual file to hilite it and pop-up a menu that is useful
just for one file.

______________________________________________________
Last edited by don570 on Mon 26 Nov 2012, 18:11, edited 1 time in total.

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

A couple of small bugs in version 5.10

#536 Post by don570 »

A couple of small bugs--->

When I do a move of a file on the hitlist, then look at the hitlist
to see if it has changed..... I see that the path is has been changed
correctly, but the filename remains the old name.

_________________________________________

When I do a copy of a file on hitlist, the copy is correctly made
but the hitlist has become blank.

_______________________________________

Master_wrong
Posts: 452
Joined: Thu 20 Mar 2008, 01:48

#537 Post by Master_wrong »

zigbert,

I will try to make sfs using your program.

thanks again
Cluster-Pup v.2-Puppy Beowulf Cluster
[url]http://www.murga-linux.com/puppy/viewtopic.php?p=499199#499199[/url]

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

#538 Post by Dromeno »

Running lucid puppy 528005, installed pfind 5.10 and gtkdialog-0.8.2-i486,

then attempted to start pfind and got:


** ERROR **: gtkdialog: Error in line 6, near token 'string': syntax error

aborting...

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

gtkdialog 082 bug

#539 Post by Dromeno »

Ok, solved. It was the gtkdialog problem again which I encountered in the pmusic thread


/usr/sbin/gtkdialog points to /usr/sbin/gtkdialog3

after installation of gtkdialog082 there will be a new gtkdialog in

/usr/local/GtkDialog/082/gtkdialog082

now I copied this gtkdialog082 to /usr/sbin and renamed it to gtkdialog3

...and everything works (so far)

I am going to test this software a bit more - the 5.05 version refused to copy .ppt files. I hope the problem is solved now

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

Re: gtkdialog 082 bug

#540 Post by zigbert »

Dromeno wrote:I am going to test this software a bit more - the 5.05 version refused to copy .ppt files. I hope the problem is solved now
I am thankful for all testing


Sigmund

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

bugs in pfind 5.10

#541 Post 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

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

#542 Post 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

Dromeno
Posts: 534
Joined: Fri 12 Sep 2008, 07:01

top 100

#543 Post 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?

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

#544 Post 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

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

#545 Post by zigbert »

Version 5.1.1
See main post

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

Post Reply