~ Mayank Johri’s Tips ~

July 24, 2007

mp3 to ogg

Filed under: Linux — mayankjohri @ 9:09 am

1. apt-get install mpg321 vorbis-tools (If you don’t have them on your machine)
Note: If you get error, check that you have contrib and non-free depositories in your sources list

2.Code: mpg321 input.mp3 -w raw && oggenc raw -o output.ogg
Note: raw is just a file name, it could be anything you want…

July 19, 2007

search for a string in files in folder

Filed under: Python, Tips — mayankjohri @ 3:33 pm

The Python script is belows

(more…)

Blog at WordPress.com.