Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
synology [12.04.2009 18:39 (vor 15 Jahren)] – angelegt cwacha | synology [16.11.2016 23:18 (vor 8 Jahren)] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 94: | Zeile 94: | ||
The only way to fix this is to use '' | The only way to fix this is to use '' | ||
+ | The following script queries all files from the music database and verifies if the file still physically exists. If not a message is printed to STDOUT. If started with '' | ||
+ | < | ||
+ | Usage: ./ | ||
+ | </ | ||
+ | |||
+ | <code bash> | ||
+ | #!/bin/sh | ||
+ | # Usage: ./ | ||
+ | |||
+ | [ " | ||
+ | |||
+ | IFS=' | ||
+ | ' | ||
+ | for db in music video photo; do | ||
+ | for testfile in `/ | ||
+ | if [ ! -f " | ||
+ | echo " | ||
+ | [ -n " | ||
+ | fi | ||
+ | done | ||
+ | done | ||
+ | |||
+ | </ |