Quantcast
Channel: How can I see a folder's exact size in bytes? - Ask Ubuntu
Browsing all 4 articles
Browse latest View live

Answer by Gobikrishnan R for How can I see a folder's exact size in bytes?

du - estimate file space usage-B, --block-size=SIZE scale sizes by SIZE before printing them. E.g., '-BM' prints sizes in units of 1,048,576 bytes. See SIZE format below.-b, --bytes equivalent to...

View Article



Answer by Federico Pascual for How can I see a folder's exact size in bytes?

du -sb foldernameseems to do the trick

View Article

Answer by knittl for How can I see a folder's exact size in bytes?

Use the -B1 parameter to du:du -s -B1 foldername$ man 1 du -B, --block-size=SIZE use SIZE-byte blocksYou could also try the --apparent-size flag

View Article

How can I see a folder's exact size in bytes?

I have a folder with 40 GB of dozens of directories and stuff, and I want to see the exact size of the root folder in bytes ..I have tried using this, but it shows the size in kilobytes:du -s foldername

View Article
Browsing all 4 articles
Browse latest View live




Latest Images