Ubuntu tips

Multimedias - Conversions

Convert Wav to Flac

Convert all wav files to flac files in a folder

for i in *.wav; do ffmpeg -i "$i" "$i".flac ; done

Convert Flac to Mp3 files

for f in *.flac; do flac -cd "$f" | lame -b 320 - "${f%.*}".mp3; done

Convert HEIC to jpg files

sudo apt install libheif-examples
for file in *.HEIC; do heif-convert $file ${file/%.HEIC/.jpg}; done

Pick a random file with Totem

totem "$(ls -R | shuf -n1)"


sudo apt install libdvdnav4 libdvdread4 gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly libdvd-pkg
sudo dpkg-reconfigure libdvd-pkg
sudo apt install ubuntu-restricted-extras



pihole -up

Nice projects

Vous aussi
participez au projet !