The easiest way to remove “Documents and Data” on your device is to reinstall the application. For this, go to Settings → General → Storage & iCloud Usage.
Storage space running out? Follow these tips to clear space on iPhone (no need to delete apps). 1) Disable Photo Stream: go to Settings → iCloud → Photos...
Mostly, work in Terminal consists of entering the specific text strings and pressing the Return key. In the text below you will find some Terminal commands for Mac.