Delete folders & leave contents?

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
PeterT
Posts: 18
Joined: 29 Jan 2008 05:13

Delete folders & leave contents?

Post by PeterT »

Is it possible to delete all the folders in a list but not delete the contents of those folders?

zer0
Posts: 2676
Joined: 19 Jan 2009 20:11

Re: Delete folders & leave contents?

Post by zer0 »

PeterT wrote:Is it possible to delete all the folders in a list but not delete the contents of those folders?
What would you expect to happen to contents of those folders? :?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

PeterT
Posts: 18
Joined: 29 Jan 2008 05:13

Re: Delete folders & leave contents?

Post by PeterT »

I ended up doing this with a find, moving the find results and then deleting the empty folders.

jayfischer
Posts: 61
Joined: 22 Nov 2009 21:28

Re: Delete folders & leave contents?

Post by jayfischer »

x2 does this. It is called flattening. Where all the contents are put into one directory. It does it though on a virtual basis in a separate window. It actually doesn't move any files.

Very handy for seeing all the files in one dir. From there you can copy/move file elsewhere.

I don't use it a lot - but it does have its uses.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Delete folders & leave contents?

Post by serendipity »

jayfischer wrote:x2 does this. It is called flattening. Where all the contents are put into one directory. It does it though on a virtual basis in a separate window. It actually doesn't move any files.

Very handy for seeing all the files in one dir. From there you can copy/move file elsewhere.

I don't use it a lot - but it does have its uses.
Hit Ctrl+F3 in XY and it also flattens folder contents virtually. But anything other than virtual can be done I guess with some scripting.

jayfischer
Posts: 61
Joined: 22 Nov 2009 21:28

Re: Delete folders & leave contents?

Post by jayfischer »

I just purchased XY. I am a longtime user of x2. I am being constantly amazed at the flexibility of XY. I keep reading the forums and help file and keep finding new things.

The only things I need now are XYcopy and pane/folder compare.

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Re: Delete folders & leave contents?

Post by j_c_hallgren »

jayfischer wrote:I just purchased XY.
Thanks much and a belated welcome to the XY forums from me also!
jayfischer wrote:I am a longtime user of x2. I am being constantly amazed at the flexibility of XY. I keep reading the forums and help file and keep finding new things.
I also used x2 lite before I found XY....and yes, Xy does have a lot of flexability, even such that I've given up learning it all (sorry Don! :oops: ) ...and given how fast XY changes, there is always something new to find! LOL!
jayfischer wrote:The only things I need now are XYcopy and pane/folder compare.
Well, pane/folder compare is down the line on the "roadmap" so for now, you can use the script from the other thread http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=4326...or on those very rare occasions, I still resort to using x2 myself for that feature only.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

Post Reply