diff --git a/metalog.sh b/metalog.sh new file mode 100644 index 0000000..b350bfb --- /dev/null +++ b/metalog.sh @@ -0,0 +1,10 @@ +#!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 +# Change it to source and log directory paths. +rsync -a ${1} ${2} \ No newline at end of file