Jump to content

Find the size of directory

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
3 replies to this topic

#1
Guest_Wanch_*

Guest_Wanch_*
  • Guests
Is it possible to tell the size of just one directory?

#2
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
In kilobytes:
$ du -s <directory>
In megabytes:
$ du -sh <directory>


#3
Guest_Wanch_*

Guest_Wanch_*
  • Guests
Perfect, just what I was looking for:

# du -sh downloads
702M    downloads

Thanks!

#4
v0id

v0id

    Retired

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,936 posts
You're welcome!