[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] `find` and ARGV question



I haven't had time to get the MacPerl book yet, but have a quick question.  I
need to search an ftp directory on my Web* server, and delete files that are
over 30 days old.  Is there a way I can do the equivalent of a:
$find=`find ::WebStar::ftp -mtime +30 -exec rm {} \;` ??

Also, if I drag and drop a several files on a script, will the names be in
ARGV ?  I need to drag some files to a script and have it change the name to
<file name>.bin so they can be easily downloaded via ftp through a web browser.

Thanks,
Dan

***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch