Hi everyone,
As I noted in my last thread I have a network drive and I want a script to backup only those files which have been created/modified since the last time I ran the script.
The problem is, when I run the script, almost always the timestamp comes out as 6 Sept. 2057, 7:40pm. This, of course, messes up the script and makes it dang near impossible to have the script update files in the backup. On my computer, the timestamps are accurate.
Here is my script:
Code:
#!/bin/bash
# rsync.sh
echo "Testing take 2!!!..."
rsync -vurt --progress /home/shane/test/ /media/iomegadrive/test/
echo "Complete!"
The drive in question is an Iomega Network Drive (500GB). In its web based admin utility I have set the time correctly (I have tried using a SNTP and without, and with daylight savings and without).
If I open the drive in Nautilus and create a folder or file... it comes up accurately.
Thank you so much in advance!!!