Getting File Sizes
Getting File Sizes
- Subject: Getting File Sizes
- From: Nathan Zamecnik <email@hidden>
- Date: Sat, 04 May 2002 18:15:48 -0500
Hello, I haven't seen this answered around here yet. I have a class I made
that uses some NSFileHandle things among other things that will take a root
directory and parse from that directory through every other directory
beneath it and return all the directories file contents. I wan wondering
how you get Cocoa to return not only the file names in a directory but also
the file size. Sort of like the shell command:
ls -s
Which will show the contents and the size in bytes. Anyone able to help.
And while I'm on the topic, is there a way to execute commands and inside
your program and have it return the results?
Thanc
-- NAteZ
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.