Skip to content

Instantly share code, notes, and snippets.

@Phlogi
Phlogi / CrashPlan_remote.sh
Last active May 23, 2016 06:30
crashplan remote script for OSX
#!/bin/sh
# Adapt the two first variables to your environment
# Requirements:
# -the user below can connect to the IP without password (copy ssh key)
# changes on server: ...share/crashplan/conf/my.service.xml:
# <serviceUIConfig>
# <serviceHost>0.0.0.0</serviceHost>
#
CPSSHUSER='root'
<?php $__env->startSection('content'); ?>
<div class="settings">
<div class="breadcrumb">
<div class="<?php echo e(auth()->user()->getFluidLayout()); ?>">
<div class="row">
<div class="col-xs-12">
<ul class="horizontal">
#!/usr/bin/env bash
MONITORDIR="/tmp/test_new_files_dir/"
NOW_FILE="/tmp/catch_file_changes_now.touch"
DELAY_FILE="/tmp/catch_file_changes.touch"
AWAIT_TIME=20 # seconds
AWAIT_TIME_STR="+${AWAIT_TIME}seconds"
CMD="echo \"da command\""