{"id":18934,"date":"2025-05-15T13:12:25","date_gmt":"2025-05-15T11:12:25","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=18934"},"modified":"2025-05-20T16:08:01","modified_gmt":"2025-05-20T14:08:01","slug":"usb-sticks-katalogisieren-per-bash-skript","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2025\/05\/15\/usb-sticks-katalogisieren-per-bash-skript\/","title":{"rendered":"USB-Stick&#8217;s katalogisieren per Bash-Skript"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Wer regelm\u00e4\u00dfig Daten auf USB-Sticks verwaltet, kennt das Problem: Man verliert schnell den \u00dcberblick \u00fcber die gespeicherten Dateien, deren Erstellungs- und \u00c4nderungsdaten. Eine manuelle Auflistung ist m\u00fchsam und fehleranf\u00e4llig. <br>Eine einfache L\u00f6sung bietet ein kleines Bash-Skript, das automatisch alle Dateien eines USB-Sticks erfasst und die wichtigsten Metadaten in einer CSV-Datei speichert.<br>Diese l\u00e4sst sich anschlie\u00dfend bequem in LibreOffice Calc \u00f6ffnen, formatieren, durchsuchen und weiterverarbeiten.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Einzige Voraussetzung ist Libre Office &#8211; das in vielen Distributionen bereits standardm\u00e4\u00dfig vorinstalliert ist.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">I. Skript anlegen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u00d6ffne ein Terminal und f\u00fcge folgenden Befehl ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano ~\/usb_katalog_mit_datum.sh\n<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">II. Skript-Inhalt einf\u00fcgen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dazu folgenden Skript-Code kopieren und in den Nano-Editor einf\u00fcgen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/bin\/bash\nset -e  # Bei Fehler abbrechen\n\necho \"--------------------------------------\"\necho \" USB-Stick Katalogisierer mit Datum (CSV)\"\necho \"--------------------------------------\"\n\necho \"Bitte schlie\u00dfe den USB-Stick an und dr\u00fccke Enter.\"\nread\n\nlsblk\n\necho \"Gib den Ger\u00e4tenamen des USB-Sticks an (z.B. sdb1):\"\nread GERAT\n\nMOUNTPOINT=\"\/mnt\/usb\"\nsudo mkdir -p \"$MOUNTPOINT\"\n\nif mount | grep \"$MOUNTPOINT\" &gt; \/dev\/null; then\n    echo \"Stick ist bereits gemountet.\"\nelse\n    sudo mount \/dev\/\"$GERAT\" \"$MOUNTPOINT\" || { echo \"Mounten fehlgeschlagen!\"; exit 1; }\nfi\n\necho \"Wie soll der Stick in der Tabelle hei\u00dfen? (z.B. STICK1):\"\nread STICKNAME\n\necho \"Wie soll die CSV-Datei hei\u00dfen? (z.B. stick1_liste.csv):\"\nread LISTENAME\n\nCSVFILE=~\/\"$LISTENAME\"\n\necho \"Stickname;Dateipfad;Dateiname;Erstellungsdatum;\u00c4nderungsdatum\" &gt; \"$CSVFILE\"\n\nfind \"$MOUNTPOINT\" -type f | while read -r DATEI; do\n    DATEINAME=$(basename \"$DATEI\")\n    ERSTELLUNG_TS=$(stat -c '%W' \"$DATEI\")\n    if &#91; \"$ERSTELLUNG_TS\" -le 0 ]; then\n        ERSTELLUNG_FMT=\"unbekannt\"\n    else\n        ERSTELLUNG_FMT=$(date -d \"@$ERSTELLUNG_TS\" \"+%Y-%m-%d %H:%M:%S\")\n    fi\n    AENDERUNG_TS=$(stat -c '%Y' \"$DATEI\")\n    AENDERUNG_FMT=$(date -d \"@$AENDERUNG_TS\" \"+%Y-%m-%d %H:%M:%S\")\n    echo \"$STICKNAME;${DATEI};${DATEINAME};${ERSTELLUNG_FMT};${AENDERUNG_FMT}\" &gt;&gt; \"$CSVFILE\"\ndone\n\nsudo umount \"$MOUNTPOINT\"\n\necho \"Fertig! Die CSV-Datei findest du unter $CSVFILE\"\necho \"\u00d6ffne die Datei jetzt automatisch in LibreOffice Calc...\"\nlibreoffice --calc \"$CSVFILE\" &amp;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Auszug aus dem Nano-Editor im Terminal&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01.png\" alt=\"\" class=\"wp-image-18996\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01.png 849w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01-300x170.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_01-768x434.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Mit [strg+O] speichern, mit [Enter] best\u00e4tigen und mit [strg+X] den Nano-Editor beenden.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">III. Skript ausf\u00fchrbar machen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dazu im noch ge\u00f6ffneten Terminal folgenden Befehl einf\u00fcgen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>chmod +x ~\/usb_katalog_mit_datum.sh<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">IV. Das Skript ausf\u00fchren<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Nun k\u00f6nnen wir den ersten USB-Stick katalogisieren.<br>Mit folgenden Befehl wird das Skript aufgerufen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>~\/usb_katalog_mit_datum.sh<\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">V. USB-Stick katalogisieren<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Wir beginnen mit dem ersten USB-Stick &#8211; bitte diesen anschlie\u00dfen &#8211; im Dateimanager mounten und [Enter] dr\u00fccken&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02.png\" alt=\"\" class=\"wp-image-18997\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02.png 849w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02-300x170.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_02-768x434.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alle verf\u00fcgbaren USB-Laufwerke werden aufgelistet &#8211; w\u00e4hlen Sie die entsprechende Laufwerksbezeichnung und best\u00e4tigen dies mit [Enter]&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03.png\" alt=\"\" class=\"wp-image-18998\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03.png 849w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03-300x170.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_03-768x434.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Geben Sie Ihr Passwort ein und best\u00e4tigen die Eingabe mit [Enter]&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"849\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04.png\" alt=\"\" class=\"wp-image-18999\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04.png 849w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04-300x170.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_04-768x434.png 768w\" sizes=\"auto, (max-width: 849px) 100vw, 849px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wie soll der USB-Stick in der Calc-Tabelle hei\u00dfen? Vergeben Sie eine passende Bezeichnung, im Beispiel \u00fcbernehmen wir den Vorschlag <strong>STICK1<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05.png\" rel=\"lightbox-4\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05.png\" alt=\"\" class=\"wp-image-19000\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05.png 850w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05-300x169.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_05-768x434.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Im n\u00e4chsten Schritt benennen wir noch die Ausgabe-Liste&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06.png\" rel=\"lightbox-5\"><img loading=\"lazy\" decoding=\"async\" width=\"850\" height=\"480\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06.png\" alt=\"\" class=\"wp-image-19001\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06.png 850w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06-150x85.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06-300x169.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_06-768x434.png 768w\" sizes=\"auto, (max-width: 850px) 100vw, 850px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Die Katalogisierung des USB-Sticks startet &#8211; das kann je nach Umfang etwas dauern.<br>Nach Fertigstellung \u00f6ffnet sich die Import-Zuweisung von Libre Office Calc &#8211; \u00fcbernehmen Sie diese mit Klick auf <strong>OK<\/strong>\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"932\" height=\"723\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_07.png\" alt=\"\" class=\"wp-image-19002\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_07.png 932w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_07-150x116.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_07-300x233.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_07-768x596.png 768w\" sizes=\"auto, (max-width: 932px) 100vw, 932px\" \/><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">VI. Verarbeitung mit Libre Office Calc<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Libre Office Calc startet jetzt mit der eben erstellten *.csv-Datei. Diese Liste kann nun mit den komfortablen Funktionen von Calc z.B. nach bestimmten Dateien durchsucht und weiter verarbeitet werden\u2026<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08.png\" rel=\"lightbox-6\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"562\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-1024x562.png\" alt=\"\" class=\"wp-image-19003\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-1024x562.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-1536x843.png 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-150x82.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-300x165.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08-768x421.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_08.png 1655w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ein weiteres n\u00fctzliches Beispiel: Musiksammlung auslesen ohne Media Player&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34.png\" rel=\"lightbox-7\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-1024x559.png\" alt=\"\" class=\"wp-image-19035\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-1024x559.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-1536x838.png 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-150x82.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-300x164.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34-768x419.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_34.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Bei Ver\u00e4nderungen auf dem Datentr\u00e4ger wiederholen Sie das Katalogisieren, \u00fcberschreiben die erstellte *.csv-Datei oder erstellen &#8211; zum Vergleich &#8211; eine zus\u00e4tzliche Liste.<br>F\u00fcr einen anderen USB-Stick \/ Laufwerk verfahren Sie wie vor beschrieben, passen aber die Bezeichnungen entsprechend an.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Die jeweiligen *.csv-Listen werden im home-Verzeichnis abgelegt und k\u00f6nnen beliebig verschoben werden&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10.png\" rel=\"lightbox-8\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"679\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10-1024x679.png\" alt=\"\" class=\"wp-image-19009\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10-1024x679.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10-150x100.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10-300x199.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10-768x510.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/katalog_10.png 1165w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Einen Starter f\u00fcr das Skript im Men\u00fc erstellen<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Um das Skript angenehm einfach aus dem Men\u00fc zu starten, \u00f6ffnen Sie ein Terminal und geben folgenden Befehl ein:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>nano ~\/.local\/share\/applications\/usb_katalog_mit_datum.desktop<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Folgenden Inhalt einf\u00fcgen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;Desktop Entry]\nType=Application\nName=USB-Katalogisierer\nComment=Erstellt eine CSV-Liste vom USB-Stick\nExec=gnome-terminal --hold -e \"\/home\/benutzername\/usb_katalog_mit_datum.sh\"\nIcon=media-removable\nTerminal=true\nCategories=Utility;\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Sieht im Nano-Editor \/ Terminal dann so aus&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02.png\" rel=\"lightbox-9\"><img loading=\"lazy\" decoding=\"async\" width=\"878\" height=\"558\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02.png\" alt=\"\" class=\"wp-image-19039\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02.png 878w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02-150x95.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02-300x191.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter_02-768x488.png 768w\" sizes=\"auto, (max-width: 878px) 100vw, 878px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr den Platzhalter <em>benutzername<\/em> den tats\u00e4chlichen Benutzernamen &#8211; korrekt geschrieben &#8211; verwenden. Speichern Sie mit [strg+O], best\u00e4tigen mit [Enter] und den Nano-Editor mit [strg+X] schlie\u00dfen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Jetzt noch vom System ab- und anmelden.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ein Starter ist nun unter Men\u00fc -&gt; Zubeh\u00f6r verf\u00fcgbar&#8230;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter.png\" rel=\"lightbox-10\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"575\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-1024x575.png\" alt=\"\" class=\"wp-image-19032\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-1024x575.png 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-1536x862.png 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-150x84.png 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-300x168.png 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter-768x431.png 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2025\/05\/starter.png 1655w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Anmerkung<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Das Skript wurde etwas erweitert &#8211; angeschlossene USB-Sticks werden automatisch erkannt und eingeh\u00e4ngt. Das Katalogisieren von USB-Laufwerken ist wie vor beschrieben, ebenso m\u00f6glich &#8211; w\u00e4hlen Sie dazu die entsprechende Bezeichnung.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\">Fazit<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mit diesem kleinen Bash-Skript lassen sich USB-Sticks unter Linux schnell und komfortabel katalogisieren.<br>Die CSV-Ausgabe &#8211; in Kombination mit Libre Office &#8211; ist ideal f\u00fcr Archivierung, \u00dcbersicht und Weiterverarbeitung.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Titelbild: <a href=\"http:\/\/www.freepik.com\">Designed by Freepik<\/a><\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"18934\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">22    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"18934\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Wer regelm\u00e4\u00dfig Daten auf USB-Sticks verwaltet, kennt das Problem: Man verliert schnell den \u00dcberblick \u00fcber die gespeicherten Dateien, deren Erstellungs- und \u00c4nderungsdaten. Eine manuelle Auflistung ist m\u00fchsam und fehleranf\u00e4llig. Eine einfache L\u00f6sung bietet ein kleines Bash-Skript, das automatisch alle Dateien eines USB-Sticks erfasst und die wichtigsten Metadaten in einer CSV-Datei speichert.Diese l\u00e4sst sich anschlie\u00dfend bequem [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":18935,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[539,61],"tags":[1343,1342,85],"class_list":["post-18934","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dienstprogramme","category-scripts","tag-csv","tag-katalogisieren","tag-usb-stick"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/18934","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=18934"}],"version-history":[{"count":36,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/18934\/revisions"}],"predecessor-version":[{"id":19056,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/18934\/revisions\/19056"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/18935"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=18934"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=18934"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=18934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}