{"id":7419,"date":"2023-09-21T16:11:57","date_gmt":"2023-09-21T14:11:57","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=7419"},"modified":"2023-09-21T16:12:00","modified_gmt":"2023-09-21T14:12:00","slug":"classifier-datei-chaos-unter-linux-aufraeumen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/09\/21\/classifier-datei-chaos-unter-linux-aufraeumen\/","title":{"rendered":"Classifier &#8211; Datei-Chaos unter Linux aufr\u00e4umen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Wenn ich wieder einmal l\u00e4nger im Internet unterwegs bin, kommt es gerne vor das ich mir dies und das herunterlade &#8211; am Ende habe ich in meinem Download-Verzeichnis ein Chaos an Dateien in den unterschiedlichsten Formaten. Mit der Software Classifier r\u00e4umen Sie dieses Chaos auf. Die Software erstellt im aktuellen Verzeichnis Unterverzeichnisse f\u00fcr die verschiedensten Formate und sortiert die Dateien passend ein.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Classifier installieren<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software wird unter allen Linux-Distributionen \u00fcber das <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?f=10&amp;t=212&amp;p=648&amp;hilit=python#p648\" target=\"_blank\">Python-Repository<\/a> installiert (<em>bitte \u00fcber den Link weiter informieren<\/em>) &#8211; also als normaler Nutzer auf dem <a rel=\"noreferrer noopener\" href=\"https:\/\/www.linux-bibel-oesterreich.at\/viewtopic.php?f=9&amp;t=3\" target=\"_blank\">Terminal<\/a>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install --user classifier<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Classifier nutzen<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Die Software wird am Terminal genutzt, wechseln Sie in das Verzeichnis, in dem Dateien sortiert werden sollen und starten dort den Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>classifier<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nehmen wir einmal an ich habe vor dem Start des Befehls folgendes Chaos:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier.jpg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1024x576.jpg\" alt=\"\" class=\"wp-image-7421\" title=\"classifier.jpg (257.69 KiB) 1134 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">So sieht es nach dem Start des Befehls so aus:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1.jpg\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-1024x576.jpg\" alt=\"\" class=\"wp-image-7422\" title=\"classifier-1.jpg (188.24 KiB) 1134 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-1.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Welche Dateiformate die Software kennt, zeigt der Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>classifier -t<\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2.jpg\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-1024x576.jpg\" alt=\"\" class=\"wp-image-7423\" title=\"classifier-2.jpg (244.56 KiB) 1134 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-2.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\">Hier zeigt die Software auch an, welche Dateiformate in welche Verzeichnisse verschoben werden, Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Music: mp3,aac,flac,ogg,wma,m4a,aiff,wav,amr<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Zu Beginn sehen Sie den Namen des Verzeichnisses, dahinter die Dateien, die in dieses verschoben werden. Nun kennt die Software jedoch nur die oben angezeigten Dateiformate &#8211; Sie k\u00f6nnen jedoch weitere problemlos hinzuf\u00fcgen. Dazu muss Classifier einmalig gestartet werden, damit wird in Ihrem Home-Verzeichnis die versteckte Datei &#8222;<strong>.classifier-master.conf<\/strong>&#8220; erstellt &#8211; diese \u00f6ffnen Sie mit einem beliebigen Texteditor:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3.jpg\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-1024x576.jpg\" alt=\"\" class=\"wp-image-7424\" title=\"classifier-3.jpg (203.73 KiB) 1134 mal betrachtet\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-1024x576.jpg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-300x169.jpg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-150x84.jpg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-768x432.jpg 768w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3-1536x864.jpg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/09\/classifier-3.jpg 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n<\/div>\n\n\n<pre class=\"wp-block-code\"><code>IGNORE: part, desktop\nMusic: mp3, aac, flac, ogg, wma, m4a, aiff, wav, amr\nVideos: flv, ogv, avi, mp4, mpg, mpeg, 3gp, mkv, ts, webm, vob, wmv\nPictures: png, jpeg, gif, jpg, bmp, svg, webp, psd, tiff\nArchives: rar, zip, 7z, gz, bz2, tar, dmg, tgz, xz, iso, cpio\nDocuments: txt, pdf, doc, docx, odf, xls, xlsv, xlsx, ppt, pptx, ppsx, odp, odt, ods, md, json, csv\nBooks: mobi, epub, chm\nDEBPackages: deb\nPrograms: exe, msi\nRPMPackages: rpm<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Hier k\u00f6nnen Sie erst einmal die Verzeichnisse eindeutschen &#8211; etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IGNORE: part, desktop\nMusik: mp3, aac, flac, ogg, wma, m4a, aiff, wav, amr\nVideos: flv, ogv, avi, mp4, mpg, mpeg, 3gp, mkv, ts, webm, vob, wmv\nBilder: png, jpeg, gif, jpg, bmp, svg, webp, psd, tiff\nArchive: rar, zip, 7z, gz, bz2, tar, dmg, tgz, xz, iso, cpio\nDokumente: txt, pdf, doc, docx, odf, xls, xlsv, xlsx, ppt, pptx, ppsx, odp, odt, ods, md, json, csv\nB\u00fccher: mobi, epub, chm\nDEB-Pakete: deb\nProgramme: exe, msi\nRPM-Pakete: rpm<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nun k\u00f6nnen Sie unter anderem neue Verzeichnisse anlegen oder den bestehenden Verzeichnissen neue Dateien hinzuf\u00fcgen &#8211; Beispiel:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>IGNORE: part, desktop\nMusik: mp3, aac, flac, ogg, wma, m4a, aiff, wav, amr\nVideos: flv, ogv, avi, mp4, mpg, mpeg, 3gp, mkv, ts, webm, vob, wmv\nBilder: png, jpeg, gif, jpg, bmp, svg, webp, psd, tiff, heic\nArchive: rar, zip, 7z, gz, bz2, tar, dmg, tgz, xz, iso, cpio, jar\nDokumente: txt, pdf, doc, docx, odf, xls, xlsv, xlsx, ppt, pptx, ppsx, odp, odt, ods, md, json, csv\nB\u00fccher: mobi, epub, chm\nDEB-Pakete: deb\nProgramme: exe, msi, bin, run, sh\nRPM-Pakete: rpm<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">F\u00fcr ein neues Verzeichnis legen Sie einfach eine neue Zeile an, geben dem Verzeichnis einen Namen &#8211; nach einem Doppelpunkt geben Sie die Dateiendungen durch ein Komma getrennt an:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Verzeichnis: Endung, Endung, Endung<\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Erstver\u00f6ffentlichung: Fr 24. Sep 2021, 18:35<\/strong><\/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=\"7419\" 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\">    <\/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=\"7419\" 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>Wenn ich wieder einmal l\u00e4nger im Internet unterwegs bin, kommt es gerne vor das ich mir dies und das herunterlade &#8211; am Ende habe ich in meinem Download-Verzeichnis ein Chaos an Dateien in den unterschiedlichsten Formaten. Mit der Software Classifier r\u00e4umen Sie dieses Chaos auf. Die Software erstellt im aktuellen Verzeichnis Unterverzeichnisse f\u00fcr die verschiedensten [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17,102],"tags":[],"class_list":["post-7419","post","type-post","status-publish","format-standard","hentry","category-system","category-tipps-system"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7419","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=7419"}],"version-history":[{"count":2,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7419\/revisions"}],"predecessor-version":[{"id":7425,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/7419\/revisions\/7425"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=7419"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=7419"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=7419"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}