Do you really have to use perl for some reason? Here are some (untested for typos) MPW commands to do what you need. > I need two scripts (or one that does two things). I want it to traverse a > whole hard drive or AppleShare server and then tell me how many documents > of type 'X' there are. It would look something like this: directory "hard drive:" files -t 'XXXX' -r > temp count temp delete temp ##Actually I think you can pipe the output of files to count and avoid the temp file. I'm not much of a plumber. > Second, the full path name of all FileMaker Pro Documents on any given > hard drive or AppleShare server. directory "AppleShare server:" files -r -f -t FMP3 > local_directory_spec:myoutput If it makes you feel better you can do: alias ls files and just pretend you're using UNIX. --> From the USA, the only socialist country that refuses to admit it.<-- ===== Want to unsubscribe from this list? ===== Send mail with body "unsubscribe" to macperl-request@macperl.org