Treesize

Filemanagers, partitioning tools, etc.
Message
Author
aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

Treesize

#1 Post by aragon »

Home: http://treesize.sourceforge.net/
Version: 0.54.1
A disk consumption analyzing tool, which sorts folders according to their physical occupied sizes. The perfect tool to help you obtaining more disk free space, on your hard drive, usb pen drive or even on network folders (provided that they are mounted and you have access to them, of course )
Patched to support rox for opening folders.

As i dislike using 'du' i normally use ncdu (http://www.murga-linux.com/puppy/viewtopic.php?t=35024). Wintree could become my new favourite.

Compiled and tested in Dingo (4.00).

Cheers
aragon
Attachments
treesizepatch.tar.gz
diff-file for added func to open folder also with rox
(367 Bytes) Downloaded 1552 times
treesize.png
(48.8 KiB) Downloaded 3287 times
treesize-0.54.1.pet
(24.18 KiB) Downloaded 1756 times
Last edited by aragon on Tue 03 Feb 2009, 10:25, edited 1 time in total.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#2 Post by amigo »

Have you got a diff or patch file of changes?

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#3 Post by aragon »

hi amigo,

no i don't have, as i'm not able of using. i will have a look at it tomorrow (it was just one line addition) and post it.

aragon

Leon
Posts: 265
Joined: Wed 22 Jun 2005, 21:33

#4 Post by Leon »

Treesize is one of those small but very useful applications.

It deserves to be a part of Puppy distro.

Thanks, aragon

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#5 Post by aragon »

@amigo

i've added a diff-file to the main post.

one question: is it better to make it with diff (like me) or with patch?

cheers
aragon

User avatar
Pizzasgood
Posts: 6183
Joined: Wed 04 May 2005, 20:28
Location: Knoxville, TN, USA

#6 Post by Pizzasgood »

You use diff for making them, and patch for applying them.

In this case, to apply the patch you could open a terminal inside the treesize-0.54.1/ directory and run this:
patch src/callbacks.c ../patch.callpacks.c
That assumes you put the patch file in the directory that also holds treesize-0.54.1/.

Running this would remove the patch:
patch -R src/callbacks.c ../patch.callpacks.c


If there had been multiple files to patch, you could have made the patch by first copying the original treesize-0.54.1/ directory to treesize-0.54.1-orig/, then modifying the files in treesize-0.54.1/ that need modifying. Then from the directory that holds both versions of the source you would run this:
diff -Naur treesize-0.54.1-orig/ treesize-0.54.1/ > treesize-0.54.1-add_rox_support.patch
Then the patch could be applied from inside the treesize-0.54.1/ directory to be modified like this:
patch -p 1 < ../treesize-0.54.1-add_rox_support.patch
(again assuming the patch is in the directory holding the source directory)

I believe that this is the standard practice for creating patches - creating them from just outside the entire source tree with the -Naur options. At least, that's what I read a while back from a guide about submitting patches on the kernel mailing list.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]

User avatar
battleshooter
Posts: 1378
Joined: Wed 14 May 2008, 05:10
Location: Australia

#7 Post by battleshooter »

Hey Aragon,

Thanks for posting this, I used to use this all time in Windows, now I guess I'll use it all the time in Pups. Pleased to see there's a Linux version.

Battleshooter
[url=http://www.murga-linux.com/puppy/viewtopic.php?t=94580]LMMS 1.0.2[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94593]Ardour 3.5.389[/url], [url=http://www.murga-linux.com/puppy/viewtopic.php?t=94629]Kdenlive 0.9.8[/url]

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#8 Post by johnywhy »

Hi

When i run Treesize on lupu 5.2.8, with xfce,

Havana: No such file or directory
Puerto_Rico: No such file or directory
Curacao: No such file or directory
Port_of_Spain: No such file or directory
Asuncion: No such file or directory
Juneau: No such file or directory
Edmonton: No such file or directory
Guadeloupe: No such file or directory
Matamoros: No such file or directory
Costa_Rica: No such file or directory
Montreal: No such file or directory
Boise: No such file or directory
Goose_Bay: No such file or directory
Scoresbysund: No such file or directory
Santiago: No such file or directory
Belize: No such file or directory
El_Salvador: No such file or directory
Nome: No such file or directory
St_Vincent: No such file or directory
Detroit: No such file or directory
Mexico_City: No such file or directory
Thule: No such file or directory
Rainy_River: No such file or directory
St_Thomas: No such file or directory
Pangnirtung: No such file or directory
Santarem: No such file or directory
Hermosillo: No such file or directory
Lima: No such file or directory
Anguilla: No such file or directory
Cuiaba: No such file or directory
St_Kitts: No such file or directory
Cambridge_Bay: No such file or directory
Santo_Domingo: No such file or directory
Glace_Bay: No such file or directory
Halifax: No such file or directory
Montevideo: No such file or directory
Chicago: No such file or directory
Toronto: No such file or directory
File already exists: dev_save/.
File already exists: Startup/.wh.firewallstaterun
File already exists: .packages/.wh.Packages-puppy-woof-official
File already exists: my-documents/.wh.tmp
File already exists: my-documents/.wh.clipart
File already exists: my-documents/.wh.Screenshots
File already exists: sys/.wh..wh..opq
File already exists: #SharedObjects/.wh..wh..opq
File already exists: .sylpheed-2.0/.wh..wh..opq
File already exists: Mail/.wh.draft
File already exists: Mail/.wh.inbox
File already exists: Mail/.wh.queue
File already exists: Mail/.wh.sent
File already exists: Mail/.wh.trash
File already exists: root/.wh..gtkrc-2.0
File already exists: etc/.wh.windowmanager.openbox
File already exists: pup_rw/.wh..wh.aufs
File already exists: usb/.wh.lp0
File already exists: dev/.wh.sg1
File already exists: icons/.wh..wh..opq
File already exists: goog...app_f84b370c827b5c7a_0001.0002_3153a04d2ba1813d/GoogleUpdateSetup.exe
File already exists: manifests/clic...exe_f84b370c827b5c7a_0001.0002_none_c4007c683033ad2d.manifest
File already exists: netfilter/.
File already exists: stat/.
File already exists: netfilter/.
File already exists: stat/.
File already exists: netfilter/.
File already exists: stat/.
....
12114: No such file or directory
File already exists: Startup/.wh.firewallstaterun
File already exists: .packages/.wh.Packages-puppy-woof-official
File already exists: my-documents/.wh.tmp
File already exists: my-documents/.wh.clipart
File already exists: my-documents/.wh.Screenshots
File already exists: sys/.wh..wh..opq
File already exists: #SharedObjects/.wh..wh..opq
File already exists: .sylpheed-2.0/.wh..wh..opq
File already exists: Mail/.wh.draft
File already exists: Mail/.wh.inbox
File already exists: Mail/.wh.queue
File already exists: Mail/.wh.sent
File already exists: Mail/.wh.trash
File already exists: root/.wh..gtkrc-2.0
File already exists: etc/.wh.windowmanager.openbox
File already exists: pup_rw/.wh..wh.aufs
File already exists: usb/.wh.lp0
File already exists: dev/.wh.sg1
File already exists: icons/.wh..wh..opq
File already exists: goog...app_f84b370c827b5c7a_0001.0002_3153a04d2ba1813d/GoogleUpdateSetup.exe
File already exists: manifests/clic...exe_f84b370c827b5c7a_0001.0002_none_c4007c683033ad2d.manifest
File already exists: netfilter/.
File already exists: stat/.
File already exists: netfilter/.
File already exists: stat/.
...
etc

i stopped it after an hour, getting no scan results. anyone have idea what be the cause?

thanks!

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

#9 Post by Flash »

No idea, sorry. What happens if you run Menu -> Filesystem -> Gdmap graphical disk usage? Gdmap seems to me to do the same thing as Treesize, only much better and in a graphical sort of way. Each of the colored rectangles is a file. The color denotes the kind of file. The larger rectangles are directories. The area at the bottom gives info on whichever file your cursor is resting on.
Attachments
Gdmap of sdc1 flash drive.jpg
(69.65 KiB) Downloaded 2664 times

User avatar
johnywhy
Posts: 879
Joined: Sat 20 Aug 2011, 14:52

#10 Post by johnywhy »

Thanks, I know gdmap, it runs, but treesize much better for me. Treesize lists biggest folders at top of list, with many right-click functions, makes it easy to manage disk. Gdmap requires visual hunting.

Thanks!

Pelo

treesize - Gdmap - Baobab

#11 Post by Pelo »

Treesize much appreciated. Gdmap is not bad. Keep the two tools ! but for the price treesize should be included by default in all puppies along gdmap. in my opinion.
Check your Pupsave with Treesize topic here
Last edited by Pelo on Thu 19 Nov 2015, 06:30, edited 4 times in total.

hamoudoudou

treesize

#12 Post by hamoudoudou »

nice treesize, shows struture tree. Simply

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#13 Post by ASRI éducation »

I just tested treesize.
Simple and practical = good idea.
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

Pelo

baobab is treesize plus graphical

#14 Post by Pelo »

Baobab (also known as Disk Usage Analyzer) is an open source application that allows users to analyse the disk usage under the GNOME desktop environment. It can scan multiple device drives, as well as local, remote and external user-requested folders and devices.
pets baobab here for both gtk3 and gtk2 puppies
Attachments
baobab.jpg
The application’s main goal is to help users view how they are using the storage space of a HDD (Hard Disk Drive), SSD (Solid Disk Drive), USB flash drive, memory cards, and digital cameras.
(60.43 KiB) Downloaded 949 times

User avatar
smokey01
Posts: 2813
Joined: Sat 30 Dec 2006, 23:15
Location: South Australia :-(
Contact:

#15 Post by smokey01 »

Is anyone having problems with TreeSize locking up? First I thought it was just Fatdog64-702 but then I compiled it in Slacko-5.7, same problem. No consistency in the lock-ups either. Often happens when refreshing or clicking on the disk icon but not every time.

Fatdog also has ncdu included which is also very nice except it's cli based, one for musher.? Similar with more functionality.
Attachments
ncdu.png
ncdu screeny
(34.04 KiB) Downloaded 775 times

Pelo

treesize does the job quite always,

#16 Post by Pelo »

treesize does the job quite always, id est sometimes is not responding. Why, i don't know. Generally i use it for /usr/
sure Musher could be happy with some apps to run in terminal. But his goal is to create them himself. Don't disturb him when he is in Programing cycle..
My pendrive is quite full (4GB) Treesize does nor go to it. I don't know where is the fat..
ncdu ? pet loaded from topic ncdu
Success :!: hidden files were there. deleted now.
Last edited by Pelo on Sun 07 Aug 2016, 03:16, edited 1 time in total.

Pelo

Treesize included in X-Slacko Slim

#17 Post by Pelo »

Passenger controls the MBs of his Slim Puppy mistfire topic click the blue. Pet provided there.

Pelo

tree gives slightly different results

#18 Post by Pelo »

tree gives slightly different results

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

#19 Post by Flash »

Different from what?

Pelo

in Treesize, you open, directories to see inside.

#20 Post by Pelo »

from treesize. in Treesize, you open, directories to see inside. Tree is really a tree.. (arborescence in French). But no sizes
Attachments
pays.png
coutries
(34.38 KiB) Downloaded 365 times
tree.jpg
tree
(45.42 KiB) Downloaded 383 times

Post Reply