SUMMARY: Need Script Advice

From: Sean Harvey (Sean.Harvey@carpediem.com)
Date: Fri Aug 28 1998 - 18:41:34 CDT


Original query:

:Dear friends,
:
:I am trying to write a script that does automatic archival: Searches
:the file system at a certain level and return a list of directories
:that have 'old' mod dates.
:
:I found it was easy to code in perl but the find command did not work
:properly from within my script.
:
:Does anyone have any suggestions. This seemed easy but I'm stuck.
:
:Sean

Thanks to Eugene Kramer, I am fixed. I used perl2find to generate some
perl code which I then used in my script. This is some kind of
perl/find bug.

If you try to run find as an external command, do not do it. Take a look
at fin2perl script, which comes with perl distribution. It'll generate
Perl script, which would do the same thing as find does without find's
bugs.

HTH

Eugene.

Thanks to all who answered.

Sean

--------------------------------
The thought of suicide is a great source of comfort: with it a calm
passage is to be made across many a night. - Nietzsche



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:47 CDT