Post Reply 
Synology - Rescan with command line
27-03-2016, 08:11
Post: #1
Synology - Rescan with command line
Hello

I must be blind or tired, but I don't figure how I can launch a rescan on my synology using command line ?

I am stuck here : http://minimserver.com/ug-control.html#C...20commands

If I understand, I have to type
<minimserverdirectory>/minimserver/bin/rescan

But I don't know where is the minimserver directory on my synology ? I could not figure it out.

Thx for help !
Best
Find all posts by this user
Quote this message in a reply
27-03-2016, 22:12 (This post was last modified: 27-03-2016 22:12 by simoncn.)
Post: #2
RE: Synology - Rescan with command line
With the current 0.8.3.4 version of MinimServer, you can do the following:

echo rescan >/volume1/@tmp/minimstdinpipe

This will change in the next MinimServer version.
Find all posts by this user
Quote this message in a reply
28-03-2016, 09:57
Post: #3
RE: Synology - Rescan with command line
Thank you Simon !!!

I have appended this to my .sh file which contains all my symbolic links.

BTW I could not reproduce the issue of self looping symbolic links...

Bravo anyway for this beautiful server
Find all posts by this user
Quote this message in a reply
13-04-2016, 06:39
Post: #4
RE: Synology - Rescan with command line
Hello Simon

What is the command line in the new version ?

Thank you
Serge
Find all posts by this user
Quote this message in a reply
13-04-2016, 07:06
Post: #5
RE: Synology - Rescan with command line
(13-04-2016 06:39)lyapounov Wrote:  Hello Simon

What is the command line in the new version ?

Thank you
Serge

I will post this information when the new version is available. Smile
Find all posts by this user
Quote this message in a reply
13-04-2016, 13:57
Post: #6
RE: Synology - Rescan with command line
Ah, sorry.

I tought API were published first ;-)

Will wait
Find all posts by this user
Quote this message in a reply
13-04-2016, 21:11
Post: #7
RE: Synology - Rescan with command line
(13-04-2016 13:57)lyapounov Wrote:  Ah, sorry.

I tought API were published first ;-)

Will wait

No documentation for a new version is published until the new version is available. This is because anything can change at any time until the new version is publicly released.
Find all posts by this user
Quote this message in a reply
23-04-2016, 21:30
Post: #8
RE: Synology - Rescan with command line
Here is the new scripted rescan command for MinimServer 0.8.4:

echo rescan | /var/packages/MinimServer/target/bin/mscript

You need to have update 82 installed for this to work correctly.
Find all posts by this user
Quote this message in a reply
24-04-2016, 18:09
Post: #9
RE: Synology - Rescan with command line
Thank you Simon !
Interestingly, DSM6 did not detect there was an update to minimserver; I was still at 0.8.3.4 and I had to install by hand (maybe I was too fast ?)

Best
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)