Linux Bash: Searching for an empty folder
This is a very easy script in the Linux Bash in order to find a folder. Here you can add your directory path and the max depth where the Bash should search.
This is a very easy script in the Linux Bash in order to find a folder. Here you can add your directory path and the max depth where the Bash should search.
In order to find the biggest folder in a directory. You need the find command and xargs find . -type d -iname „Linu*“ -print0 | xargs -0 ls -ldhS The output: find . -type d -iname „Linu*“ -print0 | xargs -0 ls -ldhSdrwxr-xr-x. 1 sven sven 490 19. Mai 15:07 ./Videos/eigene_Aufnahmen/Linuxdrwxr-xr-x. 1 sven sven 348 6. Jul 21:06 ./Linux_PCdrwxr-xr-x. 1 sven sven 194 4. Sep 2024 ./.local/lib/python3.12/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_macdrwxr-xr-x. 1 sven sven 194 14. Mai 07:59 ./.local/lib/python3.13/site-packages/debugpy/_vendored/pydevd/pydevd_attach_to_process/linux_and_macdrwxr-xr-x. 1 sven sven 172 9….
find . -type f -iname „*re6*“
What is the command „find“? Okay, imagine your computer’s hard drive is like a giant library, full of books (files) in different rooms (folders). The find command is like a super-smart librarian that helps you locate specific books based on certain criteria. I create for my videos on YouTube (and Dailymotion) a lot of .mp4 files, because Kdenlive cannot use the container MOV. Kdenlive change it into the .mp4 file format. The mp4 files are bigger as mov files. For…
Ich habe da aus Unwissenheit als Anfänger einen Fehler gemacht, den ich erst jetzt bemerkt habe. Ich habe mir eine Datenbank aufgebaut, wo ich die Eigenprodukte der beiden Ketten EDEKA und REWE eintrage, die ich so kaufe. Es ist eher ein kleiner Gag. Vielleicht auch eine nette Übersicht über die Produkte, die ich so esse und vielleicht kann ich dann in einigen Jahren mal vergleichen, ob sich bei der Zusammensetzung etwas getan hat. Kann ja sein. Auf jeden Fall habe…