gsprague
06-03-2010, 11:54 AM
Using bash is there a way to run this command and have it print as a list. Currently the output is just one line.
du -hr -d 2 /Volumes/Raid
When run in the terminal the output prints in list format per file/directory.
If there isn't an easy way to pipe this to a list then I will get a list of files/dirs with a find and then loop through each line w/du.
Thank you all! ;)
du -hr -d 2 /Volumes/Raid
When run in the terminal the output prints in list format per file/directory.
If there isn't an easy way to pipe this to a list then I will get a list of files/dirs with a find and then loop through each line w/du.
Thank you all! ;)