Re: Patch to detect unused files

Harald Koenig (koenig@tat.physik.uni-tuebingen.de)
Fri, 8 Jan 1999 13:59:18 +0100


On Jan 06, Han Holl wrote:

>
> Hello,
>
> We've got a couple of ancient directory trees (going back to the early eighties)
> that have accumulated a lot of garbage over the years.
> But nobody is sure which files are actually _used_ and which can be safely
> deleted.
>
> The following patch lets me do the following: all filenames are prefixed with
> .~ , and after an unsuccesful lookup a file will be automagically restored if
> it's actually used. In this way we can see which files have been used and
> which haven't.
>

this is no kernel issue.
please use `find -atime' and -mtime/-ctime to locate such files...

Harald

--
All SCSI disks will from now on                     ___       _____
be required to send an email notice                0--,|    /OOOOOOO\
24 hours prior to complete hardware failure!      <_/  /  /OOOOOOOOOOO\
                                                    \  \/OOOOOOOOOOOOOOO\
                                                      \ OOOOOOOOOOOOOOOOO|//
Harald Koenig,                                         \/\/\/\/\/\/\/\/\/
Inst.f.Theoret.Astrophysik                              //  /     \\  \
koenig@tat.physik.uni-tuebingen.de                     ^^^^^       ^^^^^

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/