Just an idle conversation really but nothing much else to do so…
Anyway, as a backup I sync my NAS music files at home with my works PC. I noticed that changes to the tags I was doing on the NAS were getting overwritten when the end of day sync was done. Turns out the time on my Windows NAS was wrong. It’s set to do an internet time sync but it’s not working when the NAS reboots… no idea why, it used to work This came about because we had a short mains power off some months ago… that must be when the time didn’t set.
So I had a bunch of files and directories that were set incorrectly as 2012 - why 2012? First job was to find a utility out there to change the created dates to what they should be. After some searching I found something. Then find out how to list all files/directories dated 2012. I then spent an hour or so fixing the files/directories (found a utility to set the created date to the modified date).
Next what’s going wrong with the internet time setting? Manually tested it and it works so something’s causing it to fail at reboot. I reckoned the fix was to run a schedule to a) resync time at reboot and b) resync daily - just in case. So next I spent some time finding the windows cli command to resync the time. Sorted. Next put this in a batch file. Test it. Find it has to run as admin. Fix and retest. Next create a schedule to run a) and b) and remember to run as admin. Tested and works
I must have spent a good 5 or 6 hours doing that lot.
Anyway keeps you amused I suppose.