Delete shared preferences using an adb command

android, sharedpreferences

Solution

If you want to clear all the preferences, a single command will do it:

`adb shell pm clear <package name>`

Problem

I need to delete a shared preferences file using an adb command. Is there a way to do that without uninstalling the app? I could not find anything that did it?

Original source