summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/sync-media3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index 2cddb43..a15e8b7 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -214,6 +214,9 @@ for folder in `ls $CACHE`; do
fi
elif [ ! -d "$VOLUME/$MEDIA/$folder" ]; then
mkdir -p $VOLUME/$MEDIA/$folder
+
+ # Set timestamp old enough to help unison guess which copy is newer
+ touch -t 197001010000 $VOLUME/$MEDIA/$folder
fi
fi
done