Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 10:35
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Large Files Finder v1.3
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Sun 22 Apr 2012, 17:37    Post subject:  Large Files Finder v1.3
Subject description: Right-click extension for Rox-Filer.
 

Minimalistic right-click app that may be helpful in finding large, redundant files, for instance: to keep your savefile slim and healthy.
Gdmap has too fuzzy look (as for me), pfind has too many options as for such task and the ROX-Filer's 'find' function is powerful, but too inconvenient in use for me, so I wrote this one.

Usage:
1. Right-click on any folder -> Dir '...' -> Large Files Finder
2. Sometimes it takes some time to find all of them...
3. The list of files will appear, already sorted by size (descending).
4. Double click on an item to locate it using ROX-Filer.

Limitation (no longer applies, since v1.3):
Due to use of | as delimiter (required by <tree> widget), files with | in its filename won't be processed properly.
But I think it's rare enough (I've never seen one), so acceptable.
Everything else, like *? :'\" is ok...

Works with recent versions of Precise, Lucid, Slacko, Wary and Saluki (if ROX-Filer is installed).
Written in Lupu-528.005 & Slacko-5.5.

______________________________________________

Update 2012-04-26, version 1.1:
- Added: now works also with links to folders
- Added: now finds all kinds of files, except directories
- Added: localisation by don570
- Added: can be launched from terminal window without specyfing the full path to the app (useful for testing), eg.: lff /path/to/folder (thanks to don570)

Update 2013-06-25, version 1.2:
- <entry> replaced with <spinbutton>
- fixed pinstall.sh script
- many internal improvements
- i18n (gettext)

Update 2013-08-13, version 1.2.1:
- if launched from terminal without an argument, current directory will be used (thanks to Pelo)

Update 2014-03-27, version 1.3:
- better handling of filenames with special chars (like | ` \ etc.)
- faster execution
- some other minor improvements

Greetings!
LargeFilesFinder-1.3.pet
Description 
pet

 Download 
Filename  LargeFilesFinder-1.3.pet 
Filesize  2.85 KB 
Downloaded  134 Time(s) 
LargeFilesFinder-1.2.1.pet
Description 
pet

 Download 
Filename  LargeFilesFinder-1.2.1.pet 
Filesize  2.56 KB 
Downloaded  232 Time(s) 
LargeFilesFinder-1.2.pet
Description 
pet

 Download 
Filename  LargeFilesFinder-1.2.pet 
Filesize  2.55 KB 
Downloaded  262 Time(s) 
LargeFilesFinder-1.1.pet
Description  Large Files Finder v1.1; localisation + few expansions
pet

 Download 
Filename  LargeFilesFinder-1.1.pet 
Filesize  3.01 KB 
Downloaded  509 Time(s) 
LargeFilesFinder-1.0.pet
Description  Large Files Finder v1.0
pet

 Download 
Filename  LargeFilesFinder-1.0.pet 
Filesize  2.32 KB 
Downloaded  438 Time(s) 
LFF_screenshot_1.png
 Description   
 Filesize   10.91 KB
 Viewed   1182 Time(s)

LFF_screenshot_1.png

LFF_screenshot_2.png
 Description   
 Filesize   102.99 KB
 Viewed   1225 Time(s)

LFF_screenshot_2.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.

Last edited by SFR on Thu 27 Mar 2014, 07:22; edited 13 times in total
Back to top
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3289
Location: Ontario

PostPosted: Thu 26 Apr 2012, 13:00    Post subject:  

It works well and can be useful given the difficulty in using pfind!!
I'll put in my right click package.

I noticed that links are ignored. For instance

/root/puppy-preference/audio will seem to be empty.



___________________________________________
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Thu 26 Apr 2012, 17:48    Post subject:  

Hi Don.

Thanks for putting it in "Right click apps" suite. Smile

As for links exclusion:
Well, at the beginning it was "semi-intentional" decision (find's -type parameter can hold only one letter: d=dir, l=link, f=file, etc.).
"Minor problem" I said to myself, as the size of links is (AFAIK) always below 1k.
But, to be honest, it would be more elegant to include links too, so I did a small research and found that the secret was: find ! -type d
and now LFF is able to find all kinds of files (regular files, links, devices, etc.) except directories.
Of course to find any link, the size at the initial window must be set to 0 or erased.

Another upgrade:
Until now LFF's right-click worked only with folders and (I didn't mention this earlier) mount points.
Now it works also with links to folders, eg. /mnt/home, which is (in my case) link to /initrd/mnt/dev_save.

First post updated.

EDIT:
don570 wrote:
/root/puppy-preference/audio

Oh, you did mean links to folders, not links included in a folder. It was late night and I overlooked .../audio.
Fortunately I fixed both issues; apparently I have read this correctly anyway, subconsciously. Laughing

Localisation: I gave it a try with another language and it works perfectly, thanks again.
So if anyone would like to translate the app to another languages, take a look at /usr/local/LargeFilesFinder/locals/en_US:english and please post/PM me the modified file.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Tue 25 Jun 2013, 16:04    Post subject:  

Version 1.2:
- <entry> replaced with <spinbutton>
- fixed pinstall.sh script
- lots of internal improvements (~210% faster execution...what proves how bad the previous code really was...)
- i18n (gettext)

Please uninstall any previous version before installing this one!

First post updated!

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Jasper


Joined: 25 Apr 2010
Posts: 1125
Location: England

PostPosted: Tue 25 Jun 2013, 17:33    Post subject:  

Hi SFR,

I use Precise 5.6 and I believe you could add Precise to your opening list as it works superbly.

I have a personal preference for it to open at 1 M (rather than 1 K) and ask if and how I might do that?

My regards and thanks

Addendum:

Thank you again - for your extra help on your post below.

Last edited by Jasper on Tue 25 Jun 2013, 18:22; edited 1 time in total
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Tue 25 Jun 2013, 17:43    Post subject:  

Hey Jasper

It's just a matter to modify one line:
1. Open the script (geany /usr/local/bin/lff)
2. Replace the following line (no. 31):
Code:
<radiobutton><variable>UNITM</variable><label>M</label></radiobutton>

with this:
Code:
<radiobutton><variable>UNITM</variable><default>true</default><label>M</label></radiobutton>

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3126
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 13 Aug 2013, 02:40    Post subject: Slacko 5.3.3 and 5.5
Subject description: Nothing found
 

Bonjour.
I opened a terminal in root and asked files > 1 MB. Nothing found. Surprising. Could you analyze the message (no operand) and explain what i missed.
Your pet is of great interest to point out why my savefiles is so full.
LFF.png
 Description   
 Filesize   15.75 KB
 Viewed   462 Time(s)

LFF.png

Back to top
View user's profile Send private message Yahoo Messenger 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Tue 13 Aug 2013, 03:55    Post subject:  

Hi Pelo

Well, if you're running it from terminal window, you need also type a path to be searched, e.g.:
Code:
lff /root

Anyway, I fixed this (see the first post, version 1.2.1), so if no argument is specified, lff will scan current working directory.

BTW, you can also launch LFF from right-click menu (if you're using ROX).

Thanks &
Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Pelo


Joined: 10 Sep 2011
Posts: 3126
Location: Mer méditerrannée (1 kms°)

PostPosted: Tue 13 Aug 2013, 10:52    Post subject: LFF Version 1.2.1 does its job
Subject description: weel !
 

LFF Version 1.2.1 does its job (Slacko 5.5)
This pet will be very useful for me. Thanks.
Back to top
View user's profile Send private message Yahoo Messenger 
SFR


Joined: 26 Oct 2011
Posts: 1068

PostPosted: Thu 27 Mar 2014, 06:17    Post subject:  

Version 1.3:
- better handling of filenames with some special chars (like | ` \ etc.)
- faster execution
- some other minor improvements

First post updated!

EDIT: there was still a bug - fixed and reuploaded (after 1 download).

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0814s ][ Queries: 13 (0.0065s) ][ GZIP on ]