Cut/Copy/Paste children

Features wanted...
Post Reply
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Cut/Copy/Paste children

Post by bdeshi »

[split from: viewtopic.php?f=3&t=18203]

copy/cut/paste on children: this is actually a nifty little functionality. Maybe you could add this as native commands edit > cut children and edit > copy children.
Conceptually equivalent pasting is provided by Configuration > General > Controls and More > Miscellaneous > Paste to selected list folder and Edit | Paste Special | Paste Here to New Subfolder... (which I use extensively).
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Copy subfolders without including parent folder

Post by admin »

"copy/cut children" might be okay, but this should include files as well, not just folders.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Copy subfolders without including parent folder

Post by bdeshi »

Yes, of course. My request is slightly different from Greyviper's in this regard. :)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cut/Copy/Paste children

Post by admin »

"Paste Children" (or better "Paste Contents"?) alone should do the job, right?
- in the Paste Special submenu
- in the "Custom items in shell context menu" for folders (Tree and List)
- only enabled if exactly one folder is in the clipboard (else the results can become problematic: collisions...)

Then even another program could copy a folder to the clipboard, and XY could handle the pasting of "children only".

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Cut/Copy/Paste children

Post by bdeshi »

My wish was actually the copy/cut children options. (Or as you said in the other topic, Copy Content/Cut Content)
As you can see in the first post here, pasting as children is already possible. But a settings-independent "Paste Children" option is also very good to have. :)
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cut/Copy/Paste children

Post by admin »

SammaySarkar wrote:As you can see in the first post here, pasting as children is already possible.
Really? I don't see how that's possible.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Cut/Copy/Paste children

Post by bdeshi »

Well, I have this enabled: Configuration > General > Controls and More > Miscellaneous > Paste to selected list folder
Now with some items on clipboard, I just select a folder and paste, and the items are pasted into that folder, thus become children of it.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cut/Copy/Paste children

Post by admin »

Well, I think the topic here is copying/pasting the children OF some parent, not TO some parent.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Cut/Copy/Paste children

Post by bdeshi »

Well, as long as you give me us "copying/pasting the children OF some parent", I'm happy.
--- ---
I think the confusion arises from my understanding that we can only Copy children OF something, and paste TO somewhere. As soon as we are talking about pasting, we are talking about pasting TO somewhere; there's content on the clipboard already, whether that content was children of some parent or not does not concern the paste operation.
If we are thinking of pasting, then we must be at the target location already. Now if the job is Paste Children (of a Parent), then we now have to provide the parent whose children we want to paste here. A rather round-about alternative of having "Copy Children" as the first step.
:veryconfused:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66366
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Cut/Copy/Paste children

Post by admin »

Searched the web, and the demand for such a function (be it copy or paste contents) seems rather small. There is something (discussion) in Unix and PHP but not much in Windows. So it looks like bloat to me...

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Cut/Copy/Paste children

Post by bdeshi »

Not at all! This is a very useful function, those who need it will thank you. This is particularly useful for collating downloaded resources. Archive extractions sometimes create an extra folder, and files are often nested in categorized subfolders.

I need votes!
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply