diff --git a/nextcloud_talk_manager.sh b/nextcloud_talk_manager.sh index c709292..f55af1c 100755 --- a/nextcloud_talk_manager.sh +++ b/nextcloud_talk_manager.sh @@ -104,6 +104,9 @@ list_all_rooms() { WHEN 1 THEN 'Gruppe' WHEN 2 THEN 'öffentlich' WHEN 3 THEN 'privat' + WHEN 4 THEN 'inaktiv/gelöscht' + WHEN 5 THEN 'inaktiv' + WHEN 6 THEN 'Notiz an mich' WHEN 7 THEN 'föderiert' ELSE CONCAT('Unbekannt (', type, ')') END AS Typ, @@ -132,6 +135,9 @@ list_all_rooms() { WHEN 1 THEN 'Gruppe' WHEN 2 THEN 'öffentlich' WHEN 3 THEN 'privat' + WHEN 4 THEN 'inaktiv/gelöscht' + WHEN 5 THEN 'inaktiv' + WHEN 6 THEN 'Notiz an mich' WHEN 7 THEN 'föderiert' ELSE CONCAT('Unbekannt (', type, ')') END AS Typ, @@ -158,7 +164,7 @@ list_all_rooms() { echo -e "${GREEN}=================================================================${NC}" echo "" - cat "$output_file" + less -F "$output_file" echo "" echo -e "${GREEN}Die Liste wurde in $output_file gespeichert.${NC}" @@ -437,10 +443,10 @@ show_rooms_file() { fi echo -e "\n${GREEN}=================================================================${NC}" - echo -e "${GREEN} Inhalt von $file${NC}" + echo -e "${GREEN} Inhalt von $file (mit less - zum Beenden: q)${NC}" echo -e "${GREEN}=================================================================${NC}" echo "" - cat "$file" + less -F "$file" echo "" read -p "Enter..." } @@ -464,6 +470,9 @@ list_rooms_with_participants() { WHEN 1 THEN 'Gruppe' WHEN 2 THEN 'öffentlich' WHEN 3 THEN 'privat' + WHEN 4 THEN 'inaktiv/gelöscht' + WHEN 5 THEN 'inaktiv' + WHEN 6 THEN 'Notiz an mich' WHEN 7 THEN 'föderiert' ELSE CONCAT('Unbekannt (', r.type, ')') END AS Typ, @@ -487,6 +496,9 @@ list_rooms_with_participants() { WHEN 1 THEN 'Gruppe' WHEN 2 THEN 'öffentlich' WHEN 3 THEN 'privat' + WHEN 4 THEN 'inaktiv/gelöscht' + WHEN 5 THEN 'inaktiv' + WHEN 6 THEN 'Notiz an mich' WHEN 7 THEN 'föderiert' ELSE CONCAT('Unbekannt (', r.type, ')') END AS Typ, @@ -510,6 +522,9 @@ list_rooms_with_participants() { WHEN 1 THEN 'Gruppe' WHEN 2 THEN 'öffentlich' WHEN 3 THEN 'privat' + WHEN 4 THEN 'inaktiv/gelöscht' + WHEN 5 THEN 'inaktiv' + WHEN 6 THEN 'Notiz an mich' WHEN 7 THEN 'föderiert' ELSE CONCAT('Unbekannt (', r.type, ')') END AS Typ, @@ -540,7 +555,7 @@ list_rooms_with_participants() { echo -e "${GREEN}=================================================================${NC}" echo "" - cat "$output_file" + less -F "$output_file" echo "" echo -e "${GREEN}Die Liste wurde in $output_file gespeichert.${NC}"