Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Apple Computing Products:
macOS - Operating System
Proper dir from Terminal?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Dysfunction" data-source="post: 1334699" data-attributes="member: 51052"><p>du -ah will do this (with human readable file sizes)</p><p></p><p>example output:</p><p>[code]</p><p>mikeMBP-2:Installs mike$ du -ah</p><p> 16K ./.DS_Store</p><p>2.0G ./adobepe9.dmg</p><p> 91M ./CEP-3.0-WacomEdition6-3.110.dmg</p><p>264M ./ColorMunkiDisplay101.zip</p><p> 80M ./lensprofile_creator_p3_mac_042711.dmg</p><p>1.0M ./lensprofile_downloader_p3_102510.air</p><p> 16K ./Lion installs/.DS_Store</p><p>3.5G ./Lion installs/InstallESD.dmg</p><p>3.5G ./Lion installs</p><p>1.5M ./LionTweaks.zip</p><p>7.0M ./LRMogrify2.lrplugin.zip</p><p>10.0M ./onOne_PerfectPresets_LR.dmg</p><p> 69M ./PhotoTools_2.6.3_Free.pkg.zip</p><p>120K ./Resuminator.zip</p><p> 61M ./sketch_pad_de_fr_en.dmg</p><p>2.9M ./SuperDuper!.dmg</p><p>8.0K ./Wacom_Brushes_3/.DS_Store</p><p> 12K ./Wacom_Brushes_3/Wacom Brushes 3 Readme.rtf</p><p>312K ./Wacom_Brushes_3/Wacom Brushes 3.abr</p><p>332K ./Wacom_Brushes_3</p><p>6.1G .</p><p>[/code]</p><p></p><p>There are probably a thousand ways to pull this off, it is Unix after all, but du's the easiest IMO.</p><p></p><p>This also works well.</p><p></p><p>[code]</p><p>mikeMBP-2:Installs mike$ find . -type d -exec ls -lR {} ';'</p><p>total 5414304</p><p>-rw-r--r--@ 1 mike staff 95862481 Feb 16 2011 CEP-3.0-WacomEdition6-3.110.dmg</p><p>-rw-r--r--@ 1 mike staff 277045436 Sep 26 09:37 ColorMunkiDisplay101.zip</p><p>-rw-------@ 1 mike staff 7306367 Aug 27 20:45 LRMogrify2.lrplugin.zip</p><p>drwxr-xr-x 4 mike staff 136 Dec 1 20:11 Lion installs</p><p>-rw-------@ 1 mike staff 1562599 Sep 26 20:38 LionTweaks.zip</p><p>-rw-------@ 1 mike staff 72755047 Aug 7 23:20 PhotoTools_2.6.3_Free.pkg.zip</p><p>-rw-------@ 1 mike staff 121243 Sep 26 19:21 Resuminator.zip</p><p>-rw-r--r--@ 1 mike staff 3036322 Aug 16 19:12 SuperDuper!.dmg</p><p>drwx------@ 5 mike staff 170 Aug 7 21:49 Wacom_Brushes_3</p><p>-rw-r--r--@ 1 mike staff 2154935181 Feb 16 2011 adobepe9.dmg</p><p>-rw-r--r--@ 1 mike staff 83972878 Aug 23 22:27 lensprofile_creator_p3_mac_042711.dmg</p><p>-rw-r--r--@ 1 mike staff 1048833 Aug 23 22:27 lensprofile_downloader_p3_102510.air</p><p>-rw-r--r--@ 1 mike staff 10485760 Aug 8 09:07 onOne_PerfectPresets_LR.dmg</p><p>-rw-r--r--@ 1 mike staff 63967232 Mar 20 2009 sketch_pad_de_fr_en.dmg</p><p></p><p>./Lion installs:</p><p>total 7310568</p><p>-rw-r--r--@ 1 mike staff 3743009943 Jul 20 06:37 InstallESD.dmg</p><p></p><p>./Wacom_Brushes_3:</p><p>total 648</p><p>-rwxr-xr-x 1 mike staff 8453 Jun 8 2007 Wacom Brushes 3 Readme.rtf</p><p>-rwxr-xr-x@ 1 mike staff 317083 Jun 12 2007 Wacom Brushes 3.abr</p><p>total 7310568</p><p>-rw-r--r--@ 1 mike staff 3743009943 Jul 20 06:37 InstallESD.dmg</p><p>total 648</p><p>-rwxr-xr-x 1 mike staff 8453 Jun 8 2007 Wacom Brushes 3 Readme.rtf</p><p>-rwxr-xr-x@ 1 mike staff 317083 Jun 12 2007 Wacom Brushes 3.abr</p><p>[/code]</p></blockquote><p></p>
[QUOTE="Dysfunction, post: 1334699, member: 51052"] du -ah will do this (with human readable file sizes) example output: [code] mikeMBP-2:Installs mike$ du -ah 16K ./.DS_Store 2.0G ./adobepe9.dmg 91M ./CEP-3.0-WacomEdition6-3.110.dmg 264M ./ColorMunkiDisplay101.zip 80M ./lensprofile_creator_p3_mac_042711.dmg 1.0M ./lensprofile_downloader_p3_102510.air 16K ./Lion installs/.DS_Store 3.5G ./Lion installs/InstallESD.dmg 3.5G ./Lion installs 1.5M ./LionTweaks.zip 7.0M ./LRMogrify2.lrplugin.zip 10.0M ./onOne_PerfectPresets_LR.dmg 69M ./PhotoTools_2.6.3_Free.pkg.zip 120K ./Resuminator.zip 61M ./sketch_pad_de_fr_en.dmg 2.9M ./SuperDuper!.dmg 8.0K ./Wacom_Brushes_3/.DS_Store 12K ./Wacom_Brushes_3/Wacom Brushes 3 Readme.rtf 312K ./Wacom_Brushes_3/Wacom Brushes 3.abr 332K ./Wacom_Brushes_3 6.1G . [/code] There are probably a thousand ways to pull this off, it is Unix after all, but du's the easiest IMO. This also works well. [code] mikeMBP-2:Installs mike$ find . -type d -exec ls -lR {} ';' total 5414304 -rw-r--r--@ 1 mike staff 95862481 Feb 16 2011 CEP-3.0-WacomEdition6-3.110.dmg -rw-r--r--@ 1 mike staff 277045436 Sep 26 09:37 ColorMunkiDisplay101.zip -rw-------@ 1 mike staff 7306367 Aug 27 20:45 LRMogrify2.lrplugin.zip drwxr-xr-x 4 mike staff 136 Dec 1 20:11 Lion installs -rw-------@ 1 mike staff 1562599 Sep 26 20:38 LionTweaks.zip -rw-------@ 1 mike staff 72755047 Aug 7 23:20 PhotoTools_2.6.3_Free.pkg.zip -rw-------@ 1 mike staff 121243 Sep 26 19:21 Resuminator.zip -rw-r--r--@ 1 mike staff 3036322 Aug 16 19:12 SuperDuper!.dmg drwx------@ 5 mike staff 170 Aug 7 21:49 Wacom_Brushes_3 -rw-r--r--@ 1 mike staff 2154935181 Feb 16 2011 adobepe9.dmg -rw-r--r--@ 1 mike staff 83972878 Aug 23 22:27 lensprofile_creator_p3_mac_042711.dmg -rw-r--r--@ 1 mike staff 1048833 Aug 23 22:27 lensprofile_downloader_p3_102510.air -rw-r--r--@ 1 mike staff 10485760 Aug 8 09:07 onOne_PerfectPresets_LR.dmg -rw-r--r--@ 1 mike staff 63967232 Mar 20 2009 sketch_pad_de_fr_en.dmg ./Lion installs: total 7310568 -rw-r--r--@ 1 mike staff 3743009943 Jul 20 06:37 InstallESD.dmg ./Wacom_Brushes_3: total 648 -rwxr-xr-x 1 mike staff 8453 Jun 8 2007 Wacom Brushes 3 Readme.rtf -rwxr-xr-x@ 1 mike staff 317083 Jun 12 2007 Wacom Brushes 3.abr total 7310568 -rw-r--r--@ 1 mike staff 3743009943 Jul 20 06:37 InstallESD.dmg total 648 -rwxr-xr-x 1 mike staff 8453 Jun 8 2007 Wacom Brushes 3 Readme.rtf -rwxr-xr-x@ 1 mike staff 317083 Jun 12 2007 Wacom Brushes 3.abr [/code] [/QUOTE]
Verification
Post reply
Forums
Apple Computing Products:
macOS - Operating System
Proper dir from Terminal?
Top