Page 1 of 2

Treesize

Posted: Mon 02 Feb 2009, 16:15
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

Posted: Mon 02 Feb 2009, 17:38
by amigo
Have you got a diff or patch file of changes?

Posted: Mon 02 Feb 2009, 20:34
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

Posted: Tue 03 Feb 2009, 09:50
by Leon
Treesize is one of those small but very useful applications.

It deserves to be a part of Puppy distro.

Thanks, aragon

Posted: Tue 03 Feb 2009, 10:28
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

Posted: Wed 04 Feb 2009, 05:27
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.

Posted: Mon 28 Dec 2009, 07:51
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

Posted: Tue 11 Oct 2011, 05:52
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!

Posted: Tue 11 Oct 2011, 12:54
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.

Posted: Tue 11 Oct 2011, 15:45
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!

treesize - Gdmap - Baobab

Posted: Wed 22 Jan 2014, 15:15
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

treesize

Posted: Tue 24 Feb 2015, 11:03
by hamoudoudou
nice treesize, shows struture tree. Simply

Posted: Sun 12 Jul 2015, 13:57
by ASRI éducation
I just tested treesize.
Simple and practical = good idea.

baobab is treesize plus graphical

Posted: Tue 01 Sep 2015, 23:07
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

Posted: Sat 02 Jul 2016, 00:44
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.

treesize does the job quite always,

Posted: Sat 02 Jul 2016, 01:28
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.

Treesize included in X-Slacko Slim

Posted: Thu 28 Jul 2016, 13:43
by Pelo
Passenger controls the MBs of his Slim Puppy mistfire topic click the blue. Pet provided there.

tree gives slightly different results

Posted: Mon 14 Aug 2017, 07:27
by Pelo
tree gives slightly different results

Posted: Mon 14 Aug 2017, 12:38
by Flash
Different from what?

in Treesize, you open, directories to see inside.

Posted: Mon 14 Aug 2017, 13:24
by Pelo
from treesize. in Treesize, you open, directories to see inside. Tree is really a tree.. (arborescence in French). But no sizes