1) Mount USB drive?
2) rm previous contents
3) copy htdocs folder to USB
4) umount USB drive
I'd like this in a shell script which is called by a cron at midnight local time according to my server clock as it's in the same room as me
Can someone show/explain the steps in greater detail so I can get this done ASAP, thanks