Pedroliveira.pt Blog

Convert WAV to MP3 Ubuntu command-line 1

Convert WAV to MP3 Ubuntu command-line

First you’ll need lame; sudo apt-get install lame then navigate to your directory containing the wav file’s and execute; for f in *.wav; do lame -V 1 “$f” “${f%.wav}.mp3″; done Thats it !

Remove entire line containing string in a file 0

Remove entire line containing string in a file

Remove entire line containing string in a file I need to grep for a particular ‘string’ in a file and remove the entire line where the occurrence of the string is found. I want...

0

NIC teaming on Centos 7

I’ve heard a lot about link aggregation, teaming or bonding but I’ve never tried it. Until now. In this post I will demonstrate how to setup NIC teaming on CentOS 7 virtual host. Setup...

How To Create Postfix Maildir Directory’s Script 0

How To Create Postfix Maildir Directory’s Script

In my work i had to change from Postfix mailbox users to maildir users. Inside the home directory i had about 450 users directory that needed to create the maildir format inside. So i...

3

How To Install Bacula + Postgresql + Reportula

Introduction Bacula is a sophisticated backup solution that can handle local and remote backups by leveraging a client-server model. It has very flexible configuration options that provide complete control over the backup environment. Install...

0

How To Install Virtual Tape Library + Bacula

mhVTL is an open source Virtual Tape Library which emulates standaard tape libraries. This can be usefull when testing backup scenarios or tape handling. Here is how I set it up  on CentOS 6.5. Virtual...