ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Finished Programs

DONE: Delete folders within directory but not the files within the folder

(1/3) > >>

FrothyAss:
You know how some people package .zips/folders with even more useless folders within folders when all you want are the files within it without having to sift through seemingly endless amounts of folders? Yeah, I am tired of it, and would not mind a solution!

For example:

^Sort of an over exaggeration, normally it would only be one extra unnecessary folder, but its an example, and dramatization sells ;)

My idea is of a "Delete Folder: Not Contents" sort of Windows Explorer shell right click context kind of option that deletes ONLY folders (not the files within the folders) for the selected directory I am currently in.



IainB:
You don't need to delete any folders.
You can:
(a) search for the file (and or its contents) that you want, and/or
(b) get a flat-file view of all the files in a set of nested folders.

All easily done in a decent Windows Explorer alternative - e.g., putting the flat file into a "scrap pane" in xplorer² (there's a free version).

By the way, I've seen PCs and file servers with exactly the sorts of deeply nested folders per your "dramatization" - including ones sparsely populated with documents.     :o

FrothyAss:
Searching does not rid the extra folders!

I also do not wish to have another file explorer, although I do like Total Commander.

I am looking for long term solutions to extra folders, besides the hassle of creating a new folder and moving files out of 'files nests' into the new folder. Its more for a perfectionist sort of mindset, having to go through unnecessary, or even possessing extra folders just bugs and flickers with my mind!

Mostly for organizational reasons, and preparations for torrents to be uploaded. I may be over-complicating the whole process, and please mind my greed, but that's the beauty of it all.

x16wda:
Just to clarify, what do you think should happen when there are filename collisions?  Say in your example there is a "read.me" in every folder, as well as that one desired file way down deep - what should happen to all those read.mes?

FrothyAss:
Just to clarify, what do you think should happen when there are filename collisions?  Say in your example there is a "read.me" in every folder, as well as that one desired file way down deep - what should happen to all those read.mes?
-x16wda (February 11, 2013, 05:28 AM)
--- End quote ---

Well, for my intended use, it would be for audio files, but i suppose an auto-rename feature (read.me, read(1).me, read(2).me) or renaming prompt could prevent issues, unless it is an app or program that requires the .me file 'AS IS' so perhaps a 'do not delete folder/continue anyways' prompt if conflict such as this occurs.

Navigation

[0] Message Index

[#] Next page

Go to full version