#counting_dir_files_size_in_512B

3 messages · Page 1 of 1 (latest)

gaunt zephyr
#

I tried to count blocks in 512 bytes my program's output is equivalent to the cmd du -s -l -B512 [files]. I got correct output for some directory specially those which does not have sub-dirs. But when there are several directories then I got more number if I compare with the du -s -l -B512 [files]. . code: https://pastebin.com/L2QCniY2

buoyant deltaBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

buoyant deltaBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.