Compare commits

..

No commits in common. "92fac48655d1eb2374993d2285ad8abee4d77a63" and "0b2f00cbb4245c62d9675f9ba50658a160d1f1fb" have entirely different histories.

1 changed files with 1 additions and 55 deletions

View File

@ -2,7 +2,7 @@
title: Synology - консольные команды
description:
published: true
date: 2024-11-27T15:21:21.617Z
date: 2024-11-27T08:35:34.807Z
tags: ssh, synology
editor: markdown
dateCreated: 2024-11-27T08:35:34.807Z
@ -13,57 +13,3 @@ dateCreated: 2024-11-27T08:35:34.807Z
synopkgctl stop SynologyPhotos && synopkgctl start SynologyPhotos
```
## Реиндексация фото и видео
```
synoindex -a /volume3/photo/PhotoLibrary/2024/11/
synoindex -R all
```
Help:
```
bash-4.4# synoindex --help
Usage:
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
```