You are not logged in.
I have many external USB Hard disk devices. I would know if there is a script or a program wich analyzes all the HD content and prints it on a txt file as a family tree.
It would be better if near each file it's showed its size, and at the header the occupied/free/total HD space.
An example of the family tree concept I mean (even if this is an image):
Last edited by Garret (2009-09-09 11:31:25)
Offline
This prints a nice tree which shows size along with each file's name.
$ tree /mnt -h -a -A
As for the total HD space, simply type
$ df -h /mnt
Last edited by lolilolicon (2009-09-09 11:35:11)
This silver ladybug at line 28...
Offline
Really useful this tree command. Printing on the console characters are right, but why if I give:
tree /media/My\ Book/ -h -a -A >>list.txt
the file "list.txt" presents strange characters:
/media/My Book/
(0tqq (B[ 0] Applicazioni
(0x tqq (B[4.0K] Emulazione
(0x x tqq (B[4.0K] Avventure grafiche
(0x x x tqq (B[ 0] Day of the Tentacle
(0x x x x tqq (B[5.7K] Codici Day of the Tentacle.doc
(0x x x x mqq (B[4.0K] DOTT
(0x x x x tqq (B[ 21K] ADLIB.IMS
(0x x x x tqq (B[ 766] DOTTICON.ICO
(0x x x x tqq (B[ 19K] GMIDI.IMS
(0x x x x tqq (B[8.0K] MANIAC
(0x x x x x tqq (B[1.9K] 00.LFL
Last edited by Garret (2009-09-09 12:11:35)
Offline
Try without -A option
This silver ladybug at line 28...
Offline