![]() |
|
Welcome to the HEXUS.community discussion forums forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and other features. By joining our free community you will have access to post topics, respond to polls and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! |
| |||||||
| Apple Mac MacBooks, iBooks, iMac's , iPods, Powerbooks, and PowerMacs -Intel or PowerPC - if it's blended by Apple, here's the place to be |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| Loves duck, Peking Duck! | The HEXUS Apple Guide Introduction Intermediate to Advanced Advanced: The Dark Arts fink Apache MySQL Start: sudo /usr/local/mysql/bin/mysqld_safe --user=mysql & Stop: sudo /usr/local/mysql/bin/mysqladmin -u root -p shutdown A Quick and Easy Back Up Script The actual script, backup-script: Code: #! /bin/bash tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ Safari\ -\ Copy\ to\ ~\:Library/Safari.tar.gz /Users/michaeldesilva/Library/Safari/ tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ Address\ Book/AddressBook.tar.gz /Users/michaeldesilva/Library/Application\ Support/AddressBook/ tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ iCal\ Calendars/Calendars.tar.gz /Users/michaeldesilva/Library/Calendars/ Start a new file with nano using the '-w' flag to prevent line wrapping. If you do not have nano, perform a 'fink install nano' first ![]() $ nano -w crontab.cron Now copy the following into the crontab.cron file. You will need to update the location of the script accordingly. Code: # crontab.cron
# minute (0-59),
# | hour (0-23),
# | | day of the month (1-31),
# | | | month of the year (1-12),
# | | | | day of the week (0-6 with 0=Sunday).
# | | | | | commands
# ------{ daily cron jobs }------------ #
0 18 * * * /Users/michaeldesilva/Scripts/backup-script
$ crontab crontab.cron To check that the changes have taken place perform $ crontab -l Securing Your Mac Setting up Open Firmware Password Protection --Update for Tiger http://docs.info.apple.com/article.html?artnum=106482 Adding Users & Groups Updating the SMB Workgroup For a freshly installed issue of OS X, this machine will sit on the samba network @ 'workgroup'. What if you have a whole other network on a different name? Simple fix. Open up the Directory Access utility. ![]() Click on the padlock icon and authorize with an admin account. Then click on SMB and configure and define what you want for the workgroup name and hit 'OK'. All done! ![]() Troubleshooting Reseting the PMU (Older Power Macs) How to reset the SMU on a Power Mac G5 (Late 2004) http://docs.info.apple.com/article.html?artnum=300341 If you have any content that you would like to contribute here please email it to mike@bsodmike.com please Rolex: DateJust (Z/116201) with Pink Diamond Dial / Montblanc: '80s 149 14C (F), UNICEF 'Helmut Jahn' 149 (M), 149 (OBB), 149 (B), George Bernard Shaw WE (B), F. Scott Fitzgerald (BB), Solitaire LeGrand (B), Boheme Marron (B), LeGrand Plat. (M), Mozart Gold (M) & Plat. pencil, Starwalker 100th Anni. BP, Starwalker Fineliner, Leonardo Sketch Pen / Montegrappa Extra 1930 Turtle Brown (M) / Waterman Edson (M) / Two Parker Duofold Centennial (M) / Sailor 1911 Naginata Togi (M) / Pelikan M1000 Souverän (F) Last edited by bsodmike; 06-09-2005 at 04:41 AM.. |
| |
![]() |
| Breadcrumb | ||||||
| ||||||
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Welcome To Hexus Mobile. *All Read* | Stewart | Mobile phones and accessories | 1 | 10-10-2009 10:43 AM |