Archive for the ‘networking’ Category

To get two synced is pretty easy once you have the networking figured out. You might want to put the scripts in your /Users/local/bin/ directory but you can put them where ever you like. Add the path to the synced directories in BOTH scripts. Now you are ready to sync. To test run the script […]

Coding a Simple Dropbox with Bash

Posted: 29th May 2012 by hackengineer in networking, scripting
Tags: , , , ,

I wrote this bash script very recently and I would say its still in “beta”. USE AT YOUR OWN RISK!! It has been working great but I recommend backing up your synced data just in case. With that said lets get into the code! I have two bash scripts, one to sync the data and […]

Alright, if you want to sync two computers you will need to enable sftp.  On a Mac this is easy.  Open system preferences, sharing and enable Remote Login.  This enables ssh on your mac on port 22.  If you have two machines using the same router each machine will need to have a different port. […]

Roll Your own 2TB Dropbox on mac/unix

Posted: 28th May 2012 by hackengineer in networking, scripting
Tags: , , ,

I have a lot of friends who are against having all of there data off in some cloud with who knows snooping  around.  For me this isnt an issue as I dont usually put sensitive material online and if I do its encrypted with disk utility.  It wasn’t until I had to get a laptop to be able to have all my […]