unix quick question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alex79
    Confirmed User
    • Jun 2002
    • 996

    #1

    unix quick question

    ho do i see what is the size of an entire folder?
  • Magg
    Confirmed User
    • Feb 2004
    • 4467

    #2
    it sounds like you need a managed host..


    du -s dirname

    Comment

    • Big_J
      Registered User
      • Dec 2001
      • 24

      #3
      To make sure that the output is in kilobytes:

      du -ks dirname

      For megabytes type:

      du -ms dirname

      Comment

      • dubiousmedia
        Confirmed User
        • Jul 2004
        • 369

        #4
        du -h folder works, too. -h is for "human readable"
        SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.

        Comment

        • Magg
          Confirmed User
          • Feb 2004
          • 4467

          #5
          du -h will list all file sizes in that dir, then at the end give you total of the original... kind of messy if you just want the total size.

          Comment

          Working...