ProfouzorsLinx/metalog.sh

10 lines
355 B
Bash
Raw Normal View History

2021-02-11 01:33:38 +01:00
#!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}