Powered by Invision Power Board


  Reply to this topicStart new topicStart Poll

> files and wildcards, files in linux
arunkumar
Posted: Oct 14 2004, 04:42 AM
Quote Post


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
PMEmail PosterYahooMSN
Top
nrutter
Posted: Dec 18 2004, 10:24 AM
Quote Post


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
PMEmail Poster
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
« Next Oldest | Web Servers & FTP Servers | Next Newest »

Topic Options Reply to this topicStart new topicStart Poll

 



[ Script Execution time: 0.0471 ]   [ 12 queries used ]   [ GZIP Enabled ]




Partners: Cambridge Plus :: <Link Available> :: Electronic Circuit Design :: <Link Available>
Unix Man Pages / Linux Man Pages :: HiFi Forum :: SIP VoIP Phone & Provider Reviews :: UNIX/Linux Forum Archives

More info on advertising on Unix/Linux Forum