Solved Shorten 600 8Mb mp3 files size down to a few bytes each

December 6, 2014 at 03:42:14
Specs: Windows 64, 2 core/8MB
I need to keep the file names in a folder but as of now the folders are 5GB each. I figure that if each file had 1 byte and an end of file marker, I'd be all set. I assume that this is a job for a batch file. The important thing is that the Windows search feature find the file.

Can someone furnish the batch file code?


See More: Shorten 600 8Mb mp3 files size down to a few bytes each

Report •

#1
December 6, 2014 at 07:17:40
If I'm understanding you correctly then this isn't something you can do with a batch file. MP3 files are already compressed, although each one could be re-recorded at a lower quality which would produce smaller files. Another way would be to use a file converter, MP3 to MP3, but again you would have to accept lower quality.

Whatever, you can't just remove bytes and expect the files to play.

Always pop back and let us know the outcome - thanks


Report •

#2
December 6, 2014 at 11:48:06
I guess I wasn't clear. I don't expect the files to play. The content of the file is irrelevant. Here's what matters.

1. Each file has to be as short as possible (<4K). I'm trying to get each of these files to occupy the least amount of space, no more than 1 sector per file.
2. I need to retain the original file name.
3. All 600 files have to be in one folder.
4. Windows search has to be able to find the file. If the file is named "ixmix2.mp3" and I type into the search window ixmix, search must find it.

I will find a solution - I just thought that someone might have a solution handy that could save me several hours.


Report •

#3
December 6, 2014 at 14:12:39
✔ Best Answer
You can't get the files to be less than 4KB in size as that is the default cluster size for an NTFS disk. If all you want to do is to be able to search the names why don't you just list them all in a single text file?

message edited by ijack


Report •

Related Solutions

#4
December 6, 2014 at 14:15:51
You can't compress the file anymore than it already is and have it be playable so that's out. It sounds like you want to establish links/shortcuts to each mp3 and then store those links in a single folder.

From my XP computer (7 should be the same) you right click on the file and choose 'create shortcut'. Then drag the new file to the folder you want it in. Also when I play an mp3 a link to it is automatically created in the Recent folder. They could be moved to another folder too.

Of course you'd have to do that one file at a time. There may be software that can create links in bulk but I'm not familiar with any of that.


Report •

#5
Report •

#6
December 6, 2014 at 15:18:14
I don't know the answer but note that the poster clarified in #2 that there was no requirement to actually play the files.

I think response #3 about the cluster size is pertinent.

Always pop back and let us know the outcome - thanks


Report •

#7
December 6, 2014 at 15:22:26
Another way.

Use the Command Line to Easily Create a List of Your Personal Files- Your Music, Your Pictures or Whatever
http://www.techsupportalert.com/con...


Report •

#8
December 6, 2014 at 19:00:33
Thanks for all the suggestions. #3 ilack gets the vote for the best suggestion but I didn't want to change my search parameters even though I already had a text file containing a list of all the files in question (as he suggested) thanks for a great utility I found years ago called "File Menu Tools."

So, I poked around some more and found "WinFF" which allowed me to create 3070 zero byte files.The folder containing these 3070 files occupies only one sector and I now have 22GB of additional disk space. WinFF provided a solution which far exceeded my expectations and I'm as happy as the proverbial clam - until someone makes a chowder of me.


Report •

#9
December 6, 2014 at 19:13:25
Nicely done and thanks for popping back to let us know the outcome.

Always pop back and let us know the outcome - thanks


Report •

#10
December 6, 2014 at 19:17:56
That is a very good find thewump, knew about both programs, but didn't know you could do what you did.

Report •

#11
December 6, 2014 at 23:05:24
Well, I'm very surprised that a directory of 3070 files can occupy only one disk sector (512 bytes). Even a single cluster would seem too small for this. This sounds like magic to me!

But I am gladvthat you found a solution to your problem.


Report •

#12
December 7, 2014 at 00:03:29
"The folder containing these 3070 files occupies only one sector and I now have 22GB of additional disk space"
I have both programs installed & have been trying to emulate what you did, maybe I have similar named programs.

FileMenu Tools
http://www.lopesoft.com/en/fmtools/...
http://www.lopesoft.com/en/filemenu...

WinFF
http://www.winff.org/

If these are correct, how did you do > "WinFF" which allowed me to create 3070 zero byte files < blowed if I can work it out. Thanks.



Report •

#13
December 7, 2014 at 09:10:02
I didn't need to use the list of files I created with File Menu Tools so that's out of the way.

For WinFF:

1. I loaded 600 MP3 files with the ADD button.
2. I Picked WMV with the CONVERT TO dropdown.
3. I Picked WMV2 GENERIC with the PRESET dropdown.
4. I Picked where I wanted the zero byte files saved with the OUTPUT FOLDER BUTTON.
5. I Clicked the AUDIO tab.
6. I Set Bitrate at 8, Sample rate at 22400, audio channels to 2, volume to 128 and Sync at 10.
I didn't read the help file so my selections were partly arbitrary.
7. Lastly, I clicked the CONVERT button.
A black screen popped and displayed commands like crazy; there were plenty of error messages! It was done in 10 seconds. I checked Explorer and found 600 zero byte WMF files waitng for me; my input files were MP3 but I didn't care, it was only the file names I wanted. And, of course they wouldn't play - that would be the real magic!

I repeated this process 4 more times for different sets of 600 input files.


Report •

#14
December 7, 2014 at 13:57:54
Thanks very much thewump

I Copied & Pasted my MP3's into a folder on my desktop ( just for testing purposes )

This is how I got it to work on my comp, for those Googlers that find this post.
http://i.imgur.com/lJvcg31.gif
http://i.imgur.com/Ijxbuyx.gif
http://i.imgur.com/etS6OzX.gif
http://i.imgur.com/FxheExe.gif

1. Clicked Options.
2. Picked WMV with the Convert to: dropdown.
3. Picked WMV2 Generic with the Preset: dropdown.
4. Picked where I wanted the zero byte files saved with the Output Folder: button.
5. I Clicked the Audio tab.
6. I Set Bitrate at 8, Sample rate at 22400, audio channels to 2, volume to 128 and Sync at 10.
7. I loaded my MP3 files with the Add button.
8. Lastly, I clicked the Convert button.


Report •

#15
December 7, 2014 at 17:13:01
Solid.

I was reading on the net this a.m. that it is not easy to manipulate those zero bytes files but I didn't find that to be the case. I could move, delete, copy/paste and edit the name without a problem. If I tried to run them though, I had to visit the task manager, bless his little heart.

I do find it distressing that you like Willie Nelson . . . Next thing you know it'll be John Denver. Try some Art Pepper. Check into Kroke as well. Also, Hans Zimmer does extraordinary soundtracks.


Report •

#16
December 7, 2014 at 17:49:19
"I do find it distressing that you like Willie Nelson"
That made me laugh, thought I would get a few comments about my music.
http://i.imgur.com/fLiAQar.gif

I'm down under here.
http://www.timeanddate.com/worldclo...


Report •

Ask Question