From f49f553f18b45576265ba8357c9b120f4f1ec678 Mon Sep 17 00:00:00 2001 From: ZizzyDizzyMC Date: Wed, 10 Feb 2021 19:44:17 -0500 Subject: [PATCH] Update metalog.sh --- metalog.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/metalog.sh b/metalog.sh index b350bfb..7ad1668 100644 --- a/metalog.sh +++ b/metalog.sh @@ -1,10 +1,11 @@ -#!bin/bash +#!/bin/bash # For setting up cron with a logging function for metadata only. # First argument is Linx Meta Source Directory. # Second argument is the Linx Meta Log Directory # Add to crontab with "crontab -e" -# Paste "*/1 * * * * /path/to/metalog.sh /path/to/meta/source /path/to/meta/log +# Paste "*/1 * * * * /path/to/metalog.sh /path/to/meta/source/ /path/to/meta-log" # Change it to source and log directory paths. +# The slash after source/ is important. It means everyhitng *inside* the source directory. rsync -a ${1} ${2} \ No newline at end of file