Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: Linux command to delete all index.htm file

  • Subject: Re: Linux command to delete all index.htm file
  • From: Roy Schestowitz <newsgroups@schestowitz.com>
  • Date: Fri, 15 Apr 2005 09:41:49 +0100
  • Newsgroups: alt.www.webmaster
  • References: <1113553287.779133.120210@f14g2000cwb.googlegroups.com>
  • User-agent: KNode/0.7.2
jonathanthio@yahoo.com.sg wrote:

> In a directory...
> Anyone knows that?
> 
> Say I have 2000 files with index.htm as it's file name scattered across
> various subdirectory. What should I do?
> 
> Should I type
> 
> rm index.htm -r
> 
> Will that do it?

Test that first locally if you are not confident. Unless you run on a
non-Linux machine, you should be able to build a directory within a
directory  and add void index.html files.

If you don't use Linux, do the test on the Web server. -r will not decent to
higher-level (parent) diretories, so you needn't worry. Make backups in any
case.

Roy

PS - What is my answer? "Yes", but check to be sure.

-- 
Roy S. Schestowitz
http://Schestowitz.com

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index