Huge directories

Guy Harris guy at auspex.UUCP
Sat Nov 26 15:39:25 AEST 1988


>Do I have to compress the directory in some way

Probably.  The message appears (at least in the S5R3 source) to be
advisory; it doesn't prevent "du" from continuing to work.

>and if so how do I go about doing this ??

1) Make sure nothing is running that could create new files in the
   directory.

2) Make a new directory in the same parent directory as the directory
   in question.

3) Move all the files from the directory in question into the new
   directory.

4) Remove the now-empty directory in question.

5) Rename the new directory to have the same name as the just-removed
   directory.



More information about the Comp.unix.questions mailing list