#!/bin/bash #date -u '+%s %c %Z' > /home/gmirror/rsync/metadata/timestamp.x /bin/date -u '+%s %c %Z' > /home/gmirror/gentoo-x86/metadata/timestamp.x.tmp /bin/mv /home/gmirror/gentoo-x86/metadata/timestamp.x.tmp /home/gmirror/gentoo-x86/metadata/timestamp.x /bin/date -R -u > /home/gmirror/rsync/metadata/timestamp.chk.tmp /bin/mv /home/gmirror/rsync/metadata/timestamp.chk.tmp /home/gmirror/rsync/metadata/timestamp.chk # ramereth -- Wed Mar 3 16:16:45 UTC 2004 # Added this to update timestamp for distfiles #date -u '+%s %c %Z' > /mnt/distfiles/distfiles/timestamp.x #date -R -u > /mnt/distfiles/distfiles/timestamp.chk