Mac defrag (not)

Joined
Mar 9, 2004
Messages
2,860
Reaction score
21
Points
38
Location
Miami FL
Your Mac's Specs
G4 1Ghz OS X 10.4.7
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
 
Joined
Feb 25, 2003
Messages
5,279
Reaction score
138
Points
63
Location
Tropical Island, Jealous?
Your Mac's Specs
MacPro 3.0Ghz 16GB RAM, 4x256 Vid, 30''cinema display
there are other and better things you can do.. fsck -f and disk warrior..
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top