| UNIX/Linux Forum Archives · Rules and Guidelines · Disclaimer |
Help
Search
Members
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
![]() ![]() ![]() |
| arunkumar |
Posted: Oct 14 2004, 04:42 AM
|
|
Newbie ![]() Group: Members Posts: 6 Member No.: 577 Joined: 13-October 04 |
Hello,
- Is there is any methods to view directory size without travelling through all files and sub directories in it. - I want it in c under linux. Please give me idea abt how to get the files by wildcards in c under linux operating system. cheers, arunkumar |
| nrutter |
Posted: Dec 18 2004, 10:24 AM
|
|
Newbie ![]() Group: Members Posts: 7 Member No.: 721 Joined: 17-December 04 |
Use the opendir, readdir and associated functions documented here
See the Example section on this page which shows how the functions can be used. Other sources of information are: As for doing comparison using wildcards, search on google using 'regex' should find loads of useful references. Hope at least some of this helps |
![]() |
![]() ![]() ![]() |