I have a problem with my USB drives spinning down so I wrote a simple script that would 'touch' a file and copy it every minute to keep the drives alive. Now I want to take it one step further. I would like the script to check if the drive is mounted, if not try to mount it, then write to it and if it doesn't work send me an email. ;-)
It has been 10+ yrs since I wrote a complicated shell script and I need a little help.
Thanks in advance!
It has been 10+ yrs since I wrote a complicated shell script and I need a little help.
Thanks in advance!