On Tue, 9 Feb 1999, Jaspreet Ahuja wrote:
> >Hi,
> >I was just wondering, how can I delete the .htaccess file from all the
> >sub-directories under the public_html dir. The directory structure is
> nested
> >to about 4-5 levels down and it is a pain going through 140 such main
> >directories. Is there a way of doing it or is there any script that will
> >allow me to delete recursively ?
Try 'find ~/public_html -type f -name .htaccess -print|xargs rm -f'.
> >thanks,
> >Jaspreet.
--Jani Isohanni
- Deleting files Jaspreet Ahuja
- Re: Deleting files A Jani J Isohanni
- Re: Deleting files Jarkko Haapalainen
- Re: Deleting files Tony Nugent
- Re: Deleting files Tony Nugent
- Re: Deleting files Dave Mielke
- Re: Deleting files unknown
