Antti Hakulinen <[EMAIL PROTECTED]> writes: > Hi there. > I'm a C language newbie and i'm not cabable of doing one program on my own > yet, so care to point the best "What you personally think as..." site to me > about learing C language. > Mostly i am interested in time functions etc etc... > > I would like to construct a little program that moves files of certain date > from one directory to another. > For example, a program that would move all files to another directory which > are two days older than the current date... > Any examples anywhere??
Well, this mailing list deals with Linux, not C. Try comp.lang.c instead, or comp.unix.programmer if your question is UNIX-specific. However, the Linux answer to your question (assuming you need to do that on Linux or another UNIX-like system) is the find command. Look up the documentation ("man find", "info find") and you'll do what you need without writing a single line in C. -- Oleg Goldshmidt | [EMAIL PROTECTED] "If it ain't broken, it has not got enough features yet." _______________________________________________ Seawolf-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/seawolf-list