aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl/sync-media
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl/sync-media')
-rwxr-xr-xshare/hydractl/sync-media4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index 8b1fc79..39b1ab3 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -237,7 +237,7 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then
# Avoid those configured to be skipped
if [ ! -e "$CACHE/$folder/.sync-media/skip" ]; then
echo "Syncing $CACHE/$folder with $VOLUME/$MEDIA/$folder..."
- unison $CACHE/$folder $VOLUME/$MEDIA/$folder -auto
+ unison $CACHE/$folder $VOLUME/$MEDIA/$folder -auto -logfile /dev/null
# Avoid empty source folders
#if [ ! -z "`ls -1 $CACHE/$folder`" ]; then
@@ -282,7 +282,7 @@ elif [ ! -z "$REMOTE" ]; then
)
else
echo "Syncing $CACHE/$folder with ssh://$REMOTE.$DOMAIN/$CACHE/$folder..."
- unison $CACHE/$folder ssh://$REMOTE.$DOMAIN/$CACHE/$folder/ -auto
+ unison $CACHE/$folder ssh://$REMOTE.$DOMAIN/$CACHE/$folder/ -auto -logfile /dev/null
# Avoid empty source folders or those configured to be skipped
#if [ ! -e "$CACHE/$folder/.sync-media/skip" ] && [ ! -z "`ls -1 $CACHE/$folder`" ]; then