SafeUSBSleepmode-MacOS is an USB Sleepmode Helper for MacUsers with external, powered USB Hubs
Dedicated to all MacOS users working on external Displays with built in USB Hubs or users with external USB Hubs. This script ejects all external Volumes correctly before sending your Mac to sleepmode. Now you can turn off your Display's powersupply without risking a corrupt filesystem.
- Tested on macOS Catalina 10.15.4 only
- Use at Your Own Risk
- Download the EnteringSafeSleepmode.sh file
- Save it to the designated destination
- Open Terminal and type: chown 700 <drag and drop the downloaded file here>
- The Script is ready to use
Those steps are crucial for the script to work. They are granting the script excecution rights.