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:

#521 Post by zigbert »

don570 wrote:The top menu has Execute a command ----> It would
be better to replace 'files' with 'file(s)' .
Done
don570 wrote:Also I suggest putting in an additional example, like in the picture.
Also if just one file is currently chosen then it would be useful
to fill in the field with the path of the file to make writing the
command easier.

Image
not sure......

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

#522 Post by zigbert »

don570 wrote:I used 'Copy' from the top menu, ---> if no file was chosen
then all the files were copied. I didn't realize this. Fortunated my list
of hits had only small files. If the list had been long or had big files
then it would have been disruptive. I suggest a better explanation.

____________________________________________
Copy, move and execute now shows a list of affected files as for trash. Wait for 5.1.0


Thank you for feedback
Sigmund

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

#523 Post by zigbert »

zigbert wrote:
don570 wrote:Review of pfind 5.04 and pfilesearch 1.33


When I try to use 'Delete' or 'Link' I get following message.
(either top menu or a rightclick menu)

Image

__________________________________________
tested in pFind 5.05, and it works for me here.


Sigmund
Sorry, I see the error. Now fixed.

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

#524 Post by don570 »

Image

I suggest more examples of commands.
I show an rm command

The word 'every' is confusing.


______________________________

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

#525 Post by don570 »

Test of pfind 5.0.5



I tried testing with the rm command and it worked if the list came
from a 'Documents' search , but when the list came from a 'System'
search the command wouldn't work.

As an example to track this bug ---->

1) Create a file named 'mtpaintxx' in /usr

2) Do a search for mtpaint in 'System' -->result list is correct

3) Execute command 'rm mtpaintx*'

The command is ignored.

______________________________

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

Post Reply