pFind 6.3

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
666philb
Posts: 3615
Joined: Sun 07 Feb 2010, 12:27
Location: wales ... by the sea

#641 Post by 666philb »

hi zigbert,

/root/.config/rox.sourceforge.net/OpenWith/.inode_directory/Search with pFind

is pointing to /usr/local/apps/PFind but should be /usr/local/apps/pFind
Bionicpup64 built with bionic beaver packages http://murga-linux.com/puppy/viewtopic.php?t=114311
Xenialpup64, built with xenial xerus packages http://murga-linux.com/puppy/viewtopic.php?t=107331

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

#642 Post by zigbert »

Version 6.2 is repacked to fix rox rightclick
Thanks to 666philb

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#643 Post by B.K. Johnson »

@zigbert
Perhaps you missed this post from 2011 or the problem/fix fell off your ToDo list and I, being a relative noob at the time failed to follow up. I just confirmed that it still exists.

sources-3-15-4 resides in /mnt/home/ the boot flash drive. Two other instances of the same file name exists on a hard drive. pfind finds only those files on the hard drive. The search path is the default, /mnt or /root. See screenshots.
Attachments
target-in-home-unfound.png
target=sources-15-4 is in home but not in the displayed found list.
(48.37 KiB) Downloaded 197 times
searchpath-includes-mnt.png
default search path includes /mnt/home
(39.79 KiB) Downloaded 196 times
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#644 Post by zigbert »

B.K. Johnson
Sorry for not managing all feedback!

Please try to clear the Exclude field (press the advanced button).

Sigmund

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#645 Post by B.K. Johnson »

@zigbert
Please try to clear the Exclude field (press the advanced button).
Searched for 2 Directories, once with the Directory radio button enabled and another time with a filename only. In no instance did pFind find the target in /mnt/home. The target was found when I changed the "Search in" window to /mnt/home.
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#646 Post by zigbert »

Be aware that /mnt/home is a symlink to /initrd/mnt/dev_save.
Please activate the 'Follow symlinks' checkbox.

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#647 Post by B.K. Johnson »

Zigbert wrote::
Please activate the 'Follow symlinks' checkbox.
Target in /mnt/home/ found with that box checked. Thanks.

As most of my searches are within /root and /home, is there a way I can change the default?
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#648 Post by zigbert »

default values is set from menu File>Configure.

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#649 Post by B.K. Johnson »

Got it working. Thanks.
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#650 Post by live »

Feature request:

When pfind list all the matches it should be possible to physically move the files, the right-click option "move" only create symlink.

Thanks

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

#651 Post by don570 »

Try the command feature in the menu

I think you select some files in the hit list and write something like

mv [files] /root

Zigbert gives the instructions...

_______

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

#652 Post by zigbert »

live
Thank you for the feedback. The bug is added to the todo list.
In the meanwhile, please follow don570's advice. The syntax is

mv [FILE] /path/

explained in the pFind gui

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

#653 Post by don570 »

Code: Select all

mv [FILE] /path/ 
I was mixed up because it does support multiple 'files'

Method: Select filename from hitlist and use middle mouse click to transfer
____________________________________________________

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#654 Post by B.K. Johnson »

@Zigbert
I was intruiged by rmcellig using pFind to copy search results to a directory for his radio show. I thought it would be even more space efficient to symlink rather than copy the search results. Alas, the "Link" option allows only a single file to be symlinked. Would you consider implementing a similar GUI and execution as the "Copy" case for symlinking multiple files? We would essentially be able to create playlists.
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#655 Post by zigbert »

will look at it... just need some time ;-)

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

#656 Post by zigbert »

B.K. Johnson wrote:@Zigbert
I was intruiged by rmcellig using pFind to copy search results to a directory for his radio show. I thought it would be even more space efficient to symlink rather than copy the search results. Alas, the "Link" option allows only a single file to be symlinked. Would you consider implementing a similar GUI and execution as the "Copy" case for symlinking multiple files? We would essentially be able to create playlists.
pFind can do what you ask for.
It allows advanced managing of searchresult.
Check out menu->Actions->Execute command
Attachments
screeny.jpg
(35.73 KiB) Downloaded 167 times

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

#657 Post by don570 »

I wonder if it is possible to grep through the file list to search for a term
and then print the line.

like

Code: Select all

grep -i '<expression>'  [FILE]   > /root/results.txt
Maybe clicking advanced button is better
for searches of text in file :oops:
but the above method might reduce the number of files to search inside

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

#658 Post by zigbert »

Yes you can
I like the idea, I haven't thought of that one

Code: Select all

grep -i '<expression>'  [FILE]   >> /root/results.txt

B.K. Johnson
Posts: 807
Joined: Mon 12 Oct 2009, 17:11

#659 Post by B.K. Johnson »

zigbert
Thanks. That wasn't long at all. :o
Your posted solution works fine :) , but I'd much prefer what I asked for. The reason is that for a long path, there is trouble remembering it, more typing and attendant risk of mistyping than finding the directory with ROX or whichever file manager is in use. In fact, the actual path I was working with was
/mnt/sda1/Documents and Settings/user/My Documents/My Music/Playlist-1
So much easier to remember and type /root/test2
[color=blue]B.K. Johnson
tahrpup-6.0.5 PAE (upgraded from 6.0 =>6.0.2=>6.0.3=>6.0.5 via quickpet/PPM=Not installed); slacko-5.7 occasionally. Frugal install, pupsave file, multi OS flashdrive, FAT32 , SYSLINUX boot, CPU-Dual E2140, 4GB RAM[/color]

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

#660 Post by zigbert »

B.K. Johnson
I understand. My point is that don570 also shows a great action. Somewhere we get to the 'advanced' point - and then the 'execute command' gives us the freedom to do whatever... To implement all kind of actions with different parameters is not the way I want to go.

We have many tools in Puppy for building playlists.
- pMusic is my offer.
- don570 has given us mkplaylists
- pFind can export to textfile (which in fact is a simple m3u playlist)
- gmplayer

Note!
To add the long path to the 'execute command' field, just drag the folder from rox into the field.

Post Reply