How to cut a MP3 in half?

Vincent Trouilliez vincent.trouilliez at modulonet.fr
Thu Mar 30 17:32:41 UTC 2006


On Thu, 2006-03-30 at 11:06 -0600, Wade Smart wrote:
> I have to upload an mp3 but its to large (and I didnt create it).
> Is there a way to cut it in half and then upload it?

You could just use 'dd', it already on your system.

For example:

dd if=song.mp3  of=truncated_song.mp3 bs=1024 count=1000

This will keep only the first megabyte of the song.
Adjust the "count" variable accordingly.

If your song weights say 5MB, use count=2500 , and so on.


--
Vince





More information about the ubuntu-users mailing list