pFilesearch 2.2

Filemanagers, partitioning tools, etc.
Message
Author
disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#46 Post by disciple »

Hello there.
Does searching for "file", "folder" or "symlink" work for anyone?
For me it just ignores those options and prints a message to the terminal about -type being an invalid command. It has been like this for at least a couple of versions of pfilesearch.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#47 Post by zigbert »

disciple wrote:Hello there.
Does searching for "file", "folder" or "symlink" work for anyone?
For me it just ignores those options and prints a message to the terminal about -type being an invalid command. It has been like this for at least a couple of versions of pfilesearch.
Added to todo-list


Thank you
Sigmund

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

#48 Post by zigbert »

Version 1.22
See main post

Changelog
- NLS sturcture is updated.
- External dialogs are placed ontop in Stardust (error, hits...)'
- Bugfix: search for only files/links/dirs (thanks to disciple)

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

#49 Post by zigbert »

Version 1.23
See main post

changelog
- Improved language detection (thanks to wow)
- Message on splash: The first search will be much slower than the next.
- Bugfix: using parameter '-type f/d/l' when searching single textstring
- Bugfix: Searching for text in files for a string that includes a - character (thanks to disciple)
- NLS added: LOC602

disciple
Posts: 6984
Joined: Sun 21 May 2006, 01:46
Location: Auckland, New Zealand

#50 Post by disciple »

:shock: That broke searching in directories with spaces in their path - because $SEARCHPATH got unquoted on line 90 of pfilesearch.
Do you know a good gtkdialog program? Please post a link here

Classic Puppy quotes

ROOT FOREVER
GTK2 FOREVER

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

#51 Post by zigbert »

disciple wrote::shock: That broke searching in directories with spaces in their path - because $SEARCHPATH got unquoted on line 90 of pfilesearch.
Great catch :)

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

#52 Post by zigbert »

Version 1.24
See main post

changelog
- Bugfix: Localize search button. (thanks to esmourguit)
- Bugfix: Do not center gui.
- Bugfix: Search in directories with space in name (thanks to disciple)

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

#53 Post by zigbert »

1.25 is released
See main post

- Bugfix: return value of fileselect dialog (thanks to BarryK)
- Bugfix: output to terminal 'gtkdialog is /usr/sbin/gtkdialog3'

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

#54 Post by zigbert »

Version 1.26
See main post

Changelog
- Bugfix: Search for < or > (thanks to rodin.s)

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

#55 Post by zigbert »

Version 1.27
See main post

changelog
- New option -f --> allow activating search filters from commandline.
- Extend the music filter with more file extensions.
- Add parammeter -bb and -bbb to control backend level.

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

#56 Post by zigbert »

Version 1.28
See main post

Changelog
- add m3u to the music-group (for pmusic 2.2.2)

strema
Posts: 2
Joined: Mon 02 Jan 2012, 21:05

#57 Post by strema »

Hello zigbert, can you please tell me under which license are you publishing your work?
I came here from https://aur.archlinux.org/packages.php?ID=48793
Thank you

User avatar
pemasu
Posts: 5474
Joined: Wed 08 Jul 2009, 12:26
Location: Finland

#58 Post by pemasu »

This was found inside the pfilesearch script. Probably other apps main scripts have this also :D

Code: Select all

#!/bin/bash
#pfilesearch - Act on files
#Copyright 2008, 2009, 2010, 2011
#Sigmund Berglund

#------------------------------
#This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2.

#This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. <http://www.gnu.org/licenses/>.
#------------------------------

strema
Posts: 2
Joined: Mon 02 Jan 2012, 21:05

#59 Post by strema »

Thank you pemasu for your answer
Thank you zigbert for your program

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

#60 Post by zigbert »

It is great if Anyone in the Arch-world could benefit of our code.


Sigmund

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

#61 Post by zigbert »

Version 1.30 is uploaded
See main post

changelog 1.30
- Parameter -e: embed xml-code into another app.
- NLS moved to /usr/share/locales.
- Scalable gui.
- Deactivate category filter if searching only for (type) directory.
- Disable date-entry until checkbox is set.
- Updated search-splash.
- Get rid of usleep.
- Remove Root as default user in search-command
- Remove e-mail as category (only removed in gui for now).
- Bugfix: Do not allow more than one detected langauge. (thanks to shinobar)
- Bugfix: Finetune exclude command to find files in /mnt/home. (thanks to B.K.Johnson)
- Bugfix: Searching category fails if checking more than one.
- Bugfix: Searching type (file/link/dir) should not allow more than one alternative.
- Bugfix: Searching time should not allow more than one alternative.
- Bugfix: Combine -type and -time parameters corrupted find-command.
- NLS: Changed: LOC0512

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

#62 Post by zigbert »

Version 1.31
See main post

Changelog
- Use gettext for NLS (thanks to L18L)

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

#63 Post by zigbert »

Version 1.32
See main post

changelog
- Bugfix: gettext

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

#64 Post by zigbert »

bump

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

#65 Post by zigbert »

Version 1.33
See main post

Changelog
- Bugfix: Halts if missing 'iname' attribute when running as backend.
- Bugfix: a lot of missing gettext
- Bugfix: search in /mnt/home (thanks to don570 and pemasu)

Post Reply