Durchsuchen nach
Schlagwort: Linux

Linux Bash: create a playlist with a small script

Linux Bash: create a playlist with a small script

You want to add mp3 files to a playlist with the extension .m3u and wants to sort it. A lot of music player software uses the .m3u file format. It is an old file format. History of the file format .m3u It was created in 1996 by the Fraunhofer Institute (in German: Fraunhofer-Institut für Integrierte Schaltungen IIS) in Munich, Germany. Onliner in Bash If you don’t want to create a script, then you can it with a one-liner in the…

Weiterlesen Weiterlesen

Linux Bash: abrt command and /var/spool/abrt

Linux Bash: abrt command and /var/spool/abrt

I have update script for my computer here. The last action in the script is to check the /var/ directory. du -sh /var/* | sort -rh | head -n 10 I saw that What is /var/spool /var/spool contains the printer jobs, crash reports and e-mails I check what is the content of the path /var/spool, and I found the folder „abrt“ What is abrt? In the manual, page stands: abrt – Manage problems handled by ABRT On the official website…

Weiterlesen Weiterlesen

How to determine the folder in a directory – size

How to determine the folder in a directory – size

It is a Python script for a Linux operating system: The results are (yes the folders haven the German language, because I live in Germany, and I’m German – sorry for that) Größen der Unterverzeichnisse in /home/sven/Musik 1980-1989: 6,8GMusikvideo: 12M1970-1979: 3,2Gsonstige_Musik: 6,7G1990-1999: 121MPodcast: 5,8G1960-1969: 2,7GWeihnachten: 921M2000-2009: 8,5G2010-2019: 1,7GHörbücher: 92MKlassik: 1,5GMusikalben: 3,5Gerster_Versuch: 136K1950-1959: 95M