Delete all files with a specific extension

Soldato
Joined
3 Jan 2009
Posts
8,037
I recently converted my music library from ACC to MP3. The original ACC files are mixed up with the new MP3 files, scattered across dozens of folders.

Is there any way to quickly delete all of the ACCs without having to delete each file manually?
 
I recently converted my music library from ACC to MP3. The original ACC files are mixed up with the new MP3 files, scattered across dozens of folders.

Is there any way to quickly delete all of the ACCs without having to delete each file manually?

In your my documents window, if you click on the search box in the top right you can specify and select 'type'. Select all and delete from there.

Not sure of any other way, but that's what I'd do.
 
No one loves the command line anymore?

Step 1: Open Notepad

Step 2: Write: del /s *.aac (I'm assuming you meant advanced audio coding which is .aac)

Step 3: Save file as whatever.bat and make sure you save it as All Files not a text file.

Step 4: Move the .bat file to the top file you have the AAC files in and run it. It will go through that file and all subfiles within that deleting the AAC files.

tmpv.jpg
 
Last edited:
Windows advanced search would do it, or you could just open a command prompt, cd to the root folder of your music library, then del *.aac /s.

Before you do that, you do know that transcoding from one lossy format to another will reduce quality, right?

edit:

No one loves the command line anymore?

"raises hand" ...
 
Last edited:
converting lossy to lossy is never a good thing. you should only do it if you absolutely have to - like having a hardware player that isn't capable of playing the files. you should still keep the originals on your computer.

and i doubt your files have the .aac extension. AAC audio is usually stored inside an mpeg4 container (.m4a)
 
In your my documents window, if you click on the search box in the top right you can specify and select 'type'. Select all and delete from there.

Not sure of any other way, but that's what I'd do.
That sounds simple enough. I'll try that. Thank you.

converting lossy to lossy is never a good thing. you should only do it if you absolutely have to - like having a hardware player that isn't capable of playing the files. you should still keep the originals on your computer.

and i doubt your files have the .aac extension. AAC audio is usually stored inside an mpeg4 container (.m4a)
You're right, they're all .m4a.

I'm not too bothered about any loss in quality. I've listened to the mp3 conversions and they sound fine on my hardware.


Thanks fellas.
 
Could use total commander.

select the root folder, ctrl+b, sort by extension column. Scroll to extension you don't want, highlight all files. delete. done.

Could also use the search in windows or total commander. Do a search for *.acc and then just delete all the results.
 
Back
Top Bottom