Updating Media Indexes on Synology NAS

From Littledamien Wiki
Revision as of 17:49, 27 February 2015 by Video8 (talk | contribs) (Created page with "Category:NAS Category:Production == Goal == Files are saved to a Windows 7 directory. A scheduled task copies those files to a remote NAS drive. A task runs on NAS...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Goal

Files are saved to a Windows 7 directory.

A scheduled task copies those files to a remote NAS drive.

A task runs on NAS that re-indexes its media nightly (making it available to Photo Station).

How to re-index NAS so the files are available in Photo Station before the nightly indexing.

Enable the command line on NAS

  • Log in to DSM.
  • Enable SSH
    • Open the Terminal Services Menu, from the Network Services Folder
    • Enable the SSH Service.
    • Click OK.
  • Grant remote access.
    • Open the Firewall Menu, from the Network Services Folder
    • Double click enabled rule
    • In Ports Section, press Select button next to Select from a list of built-in applications
    • Make sure Port 22 (SSH) is enabled
    • Click OK twice and then Save.[1]

Re-index media files

  • SSH to NAS server
  • Navigate to the directory to be re-indexed
    $ synoindex -R dirpath
  • synoindex -h for all command line options.

Notes