PDA

View Full Version : Mac defrag (not)



witeshark
03-29-2004, 12:26 AM
I know Mac doesn't need defragging unless monumental files are being handled. But does anyone think this Linux quick CLI script would work from the Mac terminal?
mkdir newdir
cp -ar currentdir/* newdir/
mv currentdir/ olddir/
mv newdir/ currentdir/
rm -rf olddir/
It doesn't look like a really clean true defrag, but maybe in some cases better then nothing? :p

Graphite
03-29-2004, 01:47 AM
there are other and better things you can do.. fsck -f and disk warrior..