I needed all my flac as mp3 to play them on a device that does not support .flac. Heres how to convert them all:
for file in `find /home/claw/Musik -name *.flac` ; do echo "converting $file" && nice -19 sox $file `echo $file | sed 's/\.flac/\.mp3/g'` ; done
You may have to install sox and libsox-fmt-mp3:
apt-get install sox libsox-fmt-mp3
Posted in bash, coding, Deutsch, English, linux, sed, shell, ubuntu-planet |
Tagged convert, flac, flac to mp3, konvertieren, mp3, mp3 convertieren, mp3 to flac, sox |
Sorry, this entry is only available in
Posted in bash, coding, Deutsch, linux, shell, ubuntu-planet |
Tagged Adresse, auslesen, com, Conky, Entwurf, execi, glichkeit, grep, Head, Lynx, n1, parsen, sed, Stunde, Temperatur, Wetter, Wetter.com |
Open-SSH has not nativ support for using a proxy to connect.
Using the application ‘corksrew’ it is possible anyway.
Posted in bash, Deutsch, English, linux, shell, ubuntu-planet |
Tagged corkscrew, Editor, English, glichkeit, Programm, proxy, Proxyserver, SSH, tor, tunnel, Verbindung |
Originally i am a lazy dude and i do not want to be reminded of my pending tasks. That is why i am not forcing my self often to type ‘task’ into the terminal.
In order to solve that problem i had to think about a solution that will constantly remind me of my pending tasks and forces me to complete them.
Posted in bash, Deutsch, linux, shell |
Tagged Aufgabe, Aufruf, ausführen, bash, Faul, Ich bin von Natur, Natur, pending, Shell, start, Task, task calendar, task summary, Tasks, Taskwarrior, terminal, Terminals, todo |
Taskwarrior is a command-line todo list manager
I use it at work and at home, but that made some problems to me. It has become very confusing which task belongs to which group of my life.
Do i have to call Mr. Miller for private thing or for business ?
For solving this problem i wrote a tiny bash script and i want to share it with you
Posted in bash, Deutsch, English, linux, shell |
Tagged Aufgabenverwaltung, bash, bestehende Datenbank, Datenbank, Datenbanken, English, location, mehrere Datenbanken, script, Shell, Task, task-switch, taskrc, Taskwarrior, User |
There is a way to comment or uncomment multiple lines with vim.
Posted in coding, Deutsch, English, linux, vim, windows |
Tagged auskommentieren, bash, einfügen modus, entfernen, entkommentieren, gew, Kommentarzeichen, kommentieren, linux, mehrere, mehrfach, Modus, Pfeil, STRG, vi, vim, visueller block modus, windows, zeilen |
Diesen Artikel gibt es auch in Deutsch!
This is a short How-to for a while loop which echoes “LOOP!” : while(true)
do echo "LOOP!"
while: starts the loop (in the brackets there is the constraint). Because an undefined variable is always “true” the loop will restart endless.
do: Contains what the loop should do. For this example it echoes “Loop!”.
sleep – The script wait X second before continuing. (3 seconds here). X
done – Ends the loop
You can save the script and run it in shell using
“bash SCRIPTNAME” or use “chmod a+x” to make it runnable and start it by clicking at it.
Posted in bash, coding, Deutsch, English |
Tagged bash, Bedingung, chmod, chmod a+x, do, done, echo, endless, endlos, English, false, how, How to, Klammern, loop, mal eine kurze, schleife, script, sleep, to, true, Variable, while |