macobserver.com
macOS High Sierra: How to Change Screenshot Location With Terminal - The Mac Observer
Besides removing screenshot shadows, here's another screenshot hack. You can change screenshot location in macOS if you don't want them showing up on the desktop. This way you won't have screenshots being uploaded to iCloud Drive.