Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-13-2004, 12:50 AM   #1
alex79
Confirmed User
 
Join Date: Jun 2002
Location: france
Posts: 996
unix quick question

ho do i see what is the size of an entire folder?
alex79 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2004, 12:59 AM   #2
Magg
Confirmed User
 
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
it sounds like you need a managed host..


du -s dirname
Magg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2004, 02:29 AM   #3
Big_J
Registered User
 
Join Date: Dec 2001
Posts: 24
To make sure that the output is in kilobytes:

du -ks dirname

For megabytes type:

du -ms dirname
Big_J is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2004, 02:38 AM   #4
dubious media
Confirmed User
 
Join Date: Jul 2004
Location: Sacramento, CA
Posts: 369
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.
dubious media is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-13-2004, 07:45 AM   #5
Magg
Confirmed User
 
Join Date: Feb 2004
Location: ICQ: 132497047
Posts: 4,467
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.
Magg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.