searching for a file

Dan Siler dans at hplsla.HP.COM
Tue May 9 04:32:50 AEST 1989


Here's a script called "ff" that I use to find files.

#!/bin/sh
if [ "$#" -ne 2 ]
then echo "\nusage: ff directory file_set\n"
     exit
fi

   find $1 \( -name $2 \) -exec ll -o {} \;

exit

 _________________________________________________________________________
|                                                                         |
| Dan Siler          unix: dans%hplsla at hplabs.hp.com hplabs!hplsla!dans   |
| Hewlett Packard                           hpdesk: DAN SILER/HPA100/15   |
| Lake Stevens Instrument Division, ms:380           at&t: (206) 335-2178 |
| 8600 Soper Hill Road;  Everett, WA 98205-1298        telnet: 1-335-2178 |
|_________________________________________________________________________|



More information about the Comp.unix.questions mailing list