« Synology divers » : différence entre les versions

Ligne 92 : Ligne 92 :
</pre>
</pre>
source : [https://wacha.ch/wiki/synology wacha.ch/wiki]
source : [https://wacha.ch/wiki/synology wacha.ch/wiki]
==== Usage: ====
<pre>
synoindex [OPTIONS]
Index Options:
    -h, --help
        this help text
    -A dirpath
        add a dir
    -a filepath
        add a file
    -D dirpath
        delete a dir
    -d filepath
        delete a file
    -N new_dirpath old_dirpath
        rename a dir
    -n new_filepath old_filepath
        rename a file
    -R [all|media|photo|music|video|thumb|dirpath]
        all:    reindex all dirpath that registered in each package
        media:  reindex dirpath that registered in MediaIndex package
        photo:  reindex photo dirpath
        music:  reindex music dirpath
        video:  reindex video dirpath
        thumb:  check converted video of each video file
        dirpath: reindex this specific dirpath
    -R user:{user_name}
        reindex personal photo dirpath
    -R share:{share_name}
        reindex share dirpath
    -R [type_music|type_video|type_photo]
        reindex dirpath that registered with specific type in MediaIndex
Package Index Options:
    -P [MediaIndex|{package_name}] {index_option}
        index operation only apply on this package
    -p [MediaIndex|{package_name}] {index_option}
        index operation apply all packages except for this package
File Index Options:
    -f {index_option}
        index operation apply on file index
    -U photo
        update photo images
</pre>
[[category:synology]]
[[category:synology]]