Re: How to cut a MP3 in half?



On Thursday, 30 March 2006 19:52, Vincent Trouilliez wrote:
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?

Maybe you could just "compress" it to ZIP or tar.gz or whatever format,
since most archivers can split an archives into several small files,
typically to fit it onto multiple floppy disks.

--
Vince

The "old-fashioned way" of doing this, (speaking as an old UNIX support
person), is the following:

uuencode Track.mp3 Track.mp3 > Track.uu
LINES=`wc -l Track.uu`
SPLITLINES=`expr $LINES / 2`
split --lines=$SPLITLINES Track.uu Track

This will produce two uuencoded parts which can then be compressed:

bzip2 Track??

resulting in Trackaa.bz2 and Trackab.bz2

These can be uploaded, and then later downloaded. The reassembly goes like
this:

bunzip2 Track??.bz2
cat Track?? > Track.uu
uudecode Track.uu

You will now have the EXACT original file, no loss of any kind.

cheers
Duncan


___________________________________________________________
To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: MS Pulisher 2003 Links
    ... photos and "Compress for web pages" on all of the other photos. ... And GoDaddy has very good support articles. ... Reference: GoDaddy: Using Windows Vista to Upload Your Site: ...
    (microsoft.public.publisher.webdesign)
  • Large file upload
    ... I need to upload large files via a web service. ... are typically XML or CSV files. ... (Yes, they compress well, and I'll ...
    (microsoft.public.dotnet.framework.webservices.enhancements)
  • Re: MS Pulisher 2003 Links
    ... Reference: GoDaddy: Using Windows Vista to Upload Your Site: ... your web files to your godaddy host account. ... If you compress your photos, then yes the file size should be less. ... Of course you need lots of pictures for a site such as yours, ...
    (microsoft.public.publisher.webdesign)
  • Re: forcing FTP-uploaded files to be of certain types only
    ... Maybe it would be better to examine files periodically that were uploaded via a simple program, and anything that isn't allowed, destroy. ... You could also make it compress things that weren't compressed to begin with, ... We run an FTP server for the customers to upload their data ... gigabytes of our ...
    (freebsd-net)
  • Re: forcing FTP-uploaded files to be of certain types only
    ... Maybe it would be better to examine files periodically that were uploaded via a simple program, and anything that isn't allowed, destroy. ... You could also make it compress things that weren't compressed to begin with, ... We run an FTP server for the customers to upload their data ... gigabytes of our ...
    (freebsd-isp)