This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /usr/bin/python | |
# Dispatch - synchronize two folders | |
import os | |
import filecmp | |
import shutil | |
from stat import * | |
class Dispatch: | |
''' This class represents a synchronization object ''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Title: rsync_time_machine.sh | |
# Description: Time machine backup via rsync for any unix machine | |
# Usage: | |
# | |
# - Set the following variables: | |
# `HOME`: the home directory on the local machine to be backed up | |
# `HOST`: the SSH destination to send the backup to | |
# `REMOTEBACKUPDIR`: the location on the remote destination to store the backup |
NewerOlder