Server Version#: 1.19.3.2764
Player Version#: 4.33.1
Issue: cmd returns “‘grep’ is not recognized as an internal or external command, operable program or batch file.”
Background: Built a new Windows PC, installed Plex, moved HDDs over, got everything installed and working, then realised I want to preserve the viewstates. Still have my old C: drive SSD and an external cradle, so it’s accessible.
Research: I’ve tried following the article at Move Viewstate Guide, but the SQLite instructions are non-existent. Then tried following the slightly-more-detailed instructions at Move Viewstate Forum Question, but that hasn’t helped either.
Method: I downloaded the SQLite tools precomplied binary from sqlite.org, copied sqlite3.exe to %LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases, then ran cmd:
cd “%LOCALAPPDATA%\Plex Media Server\Plug-in Support\Databases”
then
echo “.dump metadata_item_settings” | sqlite3 com.plexapp.plugins.library.db | grep -v TABLE | grep -v INDEX > settings.sql
and it returns
‘grep’ is not recognized as an internal or external command, operable program or batch file.
What am I doing wrong? There shouldn’t be any other steps? I have zero knowledge of SQLite or grep or any other function; I’m assuming grep is included in SQLite and not a separate utility?
Also, I’ve added new files to the new PC, and watched a few new and old shows. So assuming I can get this working, if I just temporarily move those new files out of the watched library locations and mark everything else as unwatched, will that work? Or do I need to do a clean install?
Thanks in advance, this is doing my head in.