Deleting folders

  • Thread starter Thread starter tuplad
  • Start date Start date
T

tuplad

Hello, I have a question.

In my folder D:\Mp3 I have a lot of other sub folders, but in a lot of
them, there is only 1 file(album art). I would like to delete them
because it's flooding my screen.

I hope you get the idea.

I've got the rmempty.exe tool to remove all the empty folders, but not
the folders with only 1 jpg file.
 
If you're at home in a Linux/UNIX environment, Cygwin makes that all
run under Windows, and you just type up a shell script to do stuff
like that and run it.

No need to find programs to accomplish such stuff. You just
write one, in effect.

Cygwin is free.
 
Well, it's easier said than done. I have no idea how to code in Shell and
I don't use Linux either.

Could you help me out ?
 
Hello, I have a question.

In my folder D:\Mp3 I have a lot of other sub folders, but in a lot of
them, there is only 1 file(album art). I would like to delete them
because it's flooding my screen.

I hope you get the idea.

I've got the rmempty.exe tool to remove all the empty folders, but not
the folders with only 1 jpg file.

Why can't you just use Explorer to delete them? Why use a 3rd party app?
 
Because I have around 850 subfolders in there, %artist% - %album name%.

And there are just those files with 10-250kb images in it.
 
Tuplad said:
Well, it's easier said than done. I have no idea how to code in Shell and
I don't use Linux either.

Could you help me out ?

There's a bit of a learning curve on dealing with a unix shell. On the
other hand, having taken the trouble, you can do almost anything by just
coding straight out what you want to do. Cygwin makes XP liveable, finally.

(If you're going to automate deleting stuff, it's a good idea to replace the
deletion command itself with an echo command, so you can run it safely and see
what it's going to do, before you let it do it ; once it's deleted, you don't
get a second try. On the other hand, this too is easy to do.)
 
Back
Top