# Command Line Scanner and Partial Refresh

**URL:** <https://forums.plex.tv/t/command-line-scanner-and-partial-refresh/151186>\
**Category:** General Discussions\
**Created:** [July 11, 2016, 7:28pm UTC](https://forums.plex.tv/t/command-line-scanner-and-partial-refresh/151186 "2016-07-11T19:28:43Z")\
**Posts on this page:** 1\
**Showing post:** 85

<div class="post-metadata">

**Author:** ![Dragonsider](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/dragonsider/32/177036_2.png) [@Dragonsider](https://forums.plex.tv/u/Dragonsider)\
**Post date:** [June 7, 2020, 8:23pm UTC](https://forums.plex.tv/t/command-line-scanner-and-partial-refresh/151186/85 "2020-06-07T20:23:24Z")

</div>

Unfortunately I wasn’t able to make it work using `--directory` but thanks to @pshanew’s response on another topic, I found out it’s possible to force a refresh **on a single** TV Show or Movie using `--item`.

> [@Plex don't automatically pick up externally added subtitles](https://forums.plex.tv/t/plex-dont-automatically-pick-up-externally-added-subtitles/600905/10):
>
> We’ll see. Instead of specifying a directory for it to refresh, try specifying the show’s item ID. You can find the Id by doing something similar to the following: Plex Media Scanner --list --section XX This will list all the shows and their item IDs in that section. You could then do something like: Plex Media Scanner --refresh --section XX --item YY This should cause the metadata for the specific show to be refreshed. You can try adding --scan and --analyze in there too, but I don’t …

---

_[View the full topic](https://forums.plex.tv/t/command-line-scanner-and-partial-refresh/151186)._
