> > >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'.
>
Or..
"rm -i `find ~/public_html -name .htaccess`"
--
Jarkko Haapalainen
- 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
