Access-Finder

Filemanagers, partitioning tools, etc.
Post Reply
Message
Author
jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

Access-Finder

#1 Post by jpeps »

Access-Finder searches for files in a selected directory that were accessed before/after a selected date. Choose a search level for including sub-directories.

Change Log:
Ver 1.0 7/11/11
Ver 2.0 7/15/11 Added "after" search function; Added "day"
Ver 2.5 7/28/11 Added "Accessed/Modified" search option
Ver 3.0 8/2/11 Close child output window for multiple searches;set default directory to pwd (great when loading from terminal); added "yesterday" search button for fast search of current files.
Ver 3.1 8/8/11 Bug Fix: removed leading 0 from day for bash computation
Ver 4.0 6/17/12 Added cache finder. Finds cache files in chosen directory
Ver 4.1 1/20/13 Bug Fix: cache finder had typo (or options have changed)
Attachments
Access-Finder-4.1.pet
(2.41 KiB) Downloaded 1216 times
Access-Finder.png
(17.6 KiB) Downloaded 1489 times
Last edited by jpeps on Mon 21 Jan 2013, 06:59, edited 9 times in total.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#2 Post by jpeps »

Version 2.0: See Changelog

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#3 Post by jpeps »

Ver 2.5 Added "Accessed/Modified" file search option

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#4 Post by jpeps »

Version 3.0 Close child output window for multiple searches; set directory default to present working directory (useful when loading from terminal); add "Yesterday" search button for locating current files quickly

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#5 Post by jpeps »

Version 3.1 Bug fix. "Yesterday" wasn't working correctly since bash can't handle digits with leading 0 (another reason why I use my own mc calculator in personal scripts).

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

jpeps,
That can be a useful little utility! I have downloaded it to try it out.
[url]https://bkhome.org/news/[/url]

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

#7 Post by don570 »

Found this spelling mistake
Image

Also the button at the bottom of your child window
could be changed

Code: Select all

<hbox>
  <button ok>
    <action type="closewindow">OUTPUT</action>
  </button>
</hbox>
or this code will center the icons using hard spaces

Code: Select all

<hbox>  
    <button ok>
    <action type="closewindow">OUTPUT</action>
    </button>
    <text><label>                                          </label></text>
</hbox>

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#8 Post by jpeps »

Don't see any improvement by using an hbox. Thanks for spotting the typo. (fixed).

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#9 Post by jpeps »

Added cache finder button. Finds cache files in chosen directory, sorted by file size. This is useful when your save file space keeps decreasing, and you don't know why. (note: ignores "depth" setting).
Attachments
access-finder.png
(51.25 KiB) Downloaded 781 times

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

#10 Post by don570 »

It is possible to control the width of a combobox .
Two hbox widgets are needed.

I changed your code a bit and made the month change....

Code: Select all

<hbox>  
    <text>
     <label>Month</label>
    </text>
    <hbox>
    <combobox  width-request="77" tooltip-text="Select month">
Image

__________________________________________

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#11 Post by jpeps »

Updated non-working sort option for the cache. (either typo or it changed).

Pelo

Accepted as an essential application

#12 Post by Pelo »

Accepted as an essential application... make searches faster because range is reduced... Pfind has the criteria, but not taken in account... or i am a silly user...

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#13 Post by Flash »

What filesystems will Access-Finder NOT work on, if any?
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=69321][color=blue]Puppy Help 101 - an interactive tutorial for Lupu 5.25[/color][/url]

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: Accepted as an essential application

#14 Post by MochiMoppel »

Pfind provides the same search criteria, and some more, but the explanation is wrong...or better, it's misplaced.
Flash wrote:What filesystems will Access-Finder NOT work on, if any?
Why would anyone want it to work? I don't understand why someone needs to know the access time... ah, no, access "date", which I find even less useful. That's a serious question because I have found the atime pretty unreliable. It doesn't necessarily indicate the time when a file was accessed for reading (that is what I would like to know) and it can be suppressed by an application to increase performance.

Strangely Access-Finder doesn't allow to search for a much more important property, the ctime.
Attachments
pfind_match_date.png
(28.43 KiB) Downloaded 261 times

Pelo

if stuff is never accessed, peharps it is useless...

#15 Post by Pelo »

MochiMoppel told in english what i wanted to explain,
Acces time why ? Because if stuff is never accessed, perharps it is useless...

User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

Re: if stuff is never accessed, peharps it is useless...

#16 Post by MochiMoppel »

Pelo wrote:Acces time why ? Because if stuff is never accessed, perharps it is useless...
I wouldn't call the copy command useless :lol:
Attachments
accessed_but_atime_not_updated .png
(41.79 KiB) Downloaded 220 times

Pelo

Something is above my Q.I, about understanding access time

#17 Post by Pelo »

Something is above my Q.I, about understanding access time... It should be the last time you use it, shouldn't it ?
My goal is to delete useless stuff..
Attachments
access.jpg
Answers can be useful, do not delete these ones...
(53.51 KiB) Downloaded 102 times

gcmartin

#18 Post by gcmartin »

Hi @Pelo

WHY??? How does a file which hasn't been accessed hurt or affect performance? Most of today's PCs are not memory/disk constrained. And for the filesizes you are considering vs the potential problems that could incur....

This is NOT a housekeeping question. I am just curious to the benefit you are envisioning as it might be useful across the community.

Just something to consider.

Pelo

as i ignore completely what means such lib,

#19 Post by Pelo »

It's a newbie method. :D as i ignore completely what means such lib, huge ones, as dri, i suppose if not accessed would be useless...
Un peu tiré par les cheveux :!: (Hazardous, very hazardous !)
But 3d, bluetooth, and print can be deleted if you don't have hardware at home.
the bloat !
These ones are not really fun to play Puppy Linux..: bank, todolist, Phones numbers..

Post Reply