众多坛友应该很少赶上系统每天/每周/每月凌晨三点的系统维护吧。我特意写了一个shell script给大家。大家下载之后就可以执行了。顺便把源码给大家贴上。不想下附件的坛友可以自己vim编写一个。里面的附件记得用终端改777权限,之后无论是从终端执行还是双击执行都可以的。
#!/bin/bash date echo This is a shell script to maintainance your Mac or Hacintosh echo echo This program require a temp root aurthration echo if you do not want it run this program echo just close this window and delete this file echo echo After this line it will ask you to enter your password echo if you doult about this program close this window and delete this file echo echo Press ENTER to continue read sudo su echo Start Unix Maintainance periodic daily date echo Daily Maintainance Finished periodic weekly date echo Weekly Maintainance Finished periodic monthly date echo Monthly Maintainace Finished echo Update Prebinding Finished
systemclearn.zip
|