Categories
Apple

Hide your Printer icon in Mac OS X.5

I recently came upon this post; enjoy it. 😉

Makes life just that bit easier!

Categories
Apple Linux Software

Rsync backups

My own simple rsync backup ‘script’.

You’ll need a rsync server, something to backup, and ssh-agent running to ease the process (or, fill in your password each time).

Add the following lines (using a terminal text editor) to a text file (“.rsync” for example, hidden files under Unix-like systems), and chmod +x $file.

1
2
3
rsync --archive -uv --exclude-from=/home/you/.rsync_exclude \
--rsh="ssh -p 222" --delete --stats --progress /Users/you/Documents/ \
you@remost.host.com:/home/you/remote-backup-directory

This will upload any files in /Users/you/Documents to /home/you/remote-backup-directory.

It will use ssh on port 222 to transfer the files.

Just execute ./.rsync (if that’s the name of your file) to run it.

If you make any changes (locally), and run this, the changes will be applied on the remote server (e.g. file changes, renames, deletes, …) — this will delete files on the remote server if you’ve deleted them locally!

The file .rsync_exclude is optional, it includes all files or directories that should NOT be uploaded

This is what I have in my .rsync_exclude:

1
2
Nazgul:~ yeri$ cat .rsync_exclude
Parallels/*

Simple as hell, and yet so handy!

Categories
Apple Errors Networking

Console Hamachi

I wrote before, that the console version of Hamachi didn’t seem to generate tun/tap driver errors. But after rebooting my Mac I was no longer able to start Hamachi.

1
2
Nazgul:hamachi-0.9.9.9-20-osx yeri$ ./hamachi start
25 19:08:15.659 [   0] [14306] tap: connect() failed 2 (No such file or directory)

So I guess I’ll have to wait for a fix after all. 🙁

Categories
Misc Networking

SMTP-server list

Whilst on the move, it’s always handy to be able to send e-mails. Most providers tend to block all SMTP-servers, besides their own. Quite unhandy if you’re on a FON (or… well… open & unsecure) WiFi network.

Here‘s a list with all mayor Dutch & Belgian ISPs their SMTP-servers.

Categories
Misc

Dad at Comedy Barn