Newbe - copying folder structure

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
blewis999
Posts: 25
Joined: 24 Nov 2009 07:50

Newbe - copying folder structure

Post by blewis999 »

About a week ago, I was able to copy a folder structure and paste it into a new locations without the contents of the folders. But I have searched for about an hour and can't find it again. I don't know if I turned off an option and disabled this feature or what happened. Any help would be appreciated... I know it is there somewhere, I used last week! I have the full version (pro) if that helps. Thanks

Robert

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

Re: Newbe - copying folder structure

Post by j_c_hallgren »

Since I'm not that much of a user of this type of copy, the best I can do is give some ideas of threads that may relate by doing a quick search:
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=4298
http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=3080
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=2550

...and what seems to be the common thing? Rich Copy...as in http://88.191.26.34/XYwiki/index.php/Rich_Operations ...hey, what can I say? I don't use all of XY features that often...and some so rarely that I also forget about them.. :oops:
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.

blewis999
Posts: 25
Joined: 24 Nov 2009 07:50

Re: Newbe - copying folder structure

Post by blewis999 »

Hi

Thank you for the help; that was the clue. I think I must have read this on the wiki site.

The Rich Copy works as needed. To summarize incase someone else needs this function.

To create a duplicate folder structure without the folder contents.

First create a destination folder (or not, I do this to track the file operations that follow)
Find the top level folder you want to replicate, right click and drag the folder to the folder just created above. A square box will be under the mouse (this not a windows standard and maybe why it can be hard to find, but then Windows leaves much to be desired IMHO). Release and you are in the Rich Copy mode and a pop up menu appears. Choose 'Create Branch(es) here', and the folder structure will be created without the folder contents at the spot where you release the right mouse button. If you make a mistake in dropping the structure choose Edit/undo and the operation will be erased and you can try again.

This is extremely useful for restructuring a project and for creating mulitple projects that need parallel structures. For example a coding repository, a manufacturing system for printed circuit boards where the steps remain the same but the project contents change and are separate.

Create the new structure and put all the files in, then when it all works as expected create subsequent projects by creating similiar branches.

Thanks again 'Blog Master'

Robert

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

Re: Newbe - copying folder structure

Post by admin »

Hi,

'Create Branch(es) here' is indeed the command you were looking for. But note that this has nothing to do with Rich Copy (which is about copying/moving files along with their folder structure from a recursive search results listing).

:!: Tip: If you often need to create the same empty folder structure, then you should look into the New Items Menu. It's the coolest way to do this.

Don

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

Re: Newbe - copying folder structure

Post by j_c_hallgren »

admin wrote: :!: Tip: If you often need to create the same empty folder structure, then you should look into the New Items Menu. It's the coolest way to do this.
And if the built-in Help doesn't quite explain it to you, the wiki has this page: http://88.191.26.34/XYwiki/index.php/New_Items
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.

blewis999
Posts: 25
Joined: 24 Nov 2009 07:50

Re: Newbe - copying folder structure

Post by blewis999 »

Thank you for the insight. I will try the New Items, that would be the best solution. That method would allow a way to edit and refine before going ahead.

Great program! I have been looking for this for years. I have tried a lot of them and sooner or later I ran into a limitation or they were just buggy and impossible to rely on. I don't think this will happen here. Once I get more familiar with the terms and functionality I will write a review. Now all you need to do is replace the hated 'file open' system with XYplorer!!

We also train Engineers in software development for embedded systems. I can include a recommendation for XYplorer under a tools section we will be adding should you approve. We also create videos of the development work and could include a short video highlighting your product. There are examples on our site. If you like we could also distribute the trial version as a download with our other materials if that is something you want to do. We do a lot of work with Freescale Semiconductor Ltd. FSL, and more is planned this coming year. One division within FSL that we work with is the University program. If you want to see the type of work you can look at our web site.

www.iMnMicroControl.com/new
(hidden and not released yet also with the older generation pictures, we are waiting on return of the production board, so these pictures are close but will be updated).

the new product will be released in a few weeks (3 - 5) when the product goes into manufacturing.


Let me know if this is something you want to consider (the promotion of your product), we are not looking for any commission. I just think this is an excellent product and needs further exposure.

Best Regards
Robert Lewis, P. Eng.

iMn MicroControl Ltd.
573 Cowan Road
Bowen Island, BC V0N1G0
619.377.0793
604.947.9879
robert.lewis@iMnMicroControl.com
www.iMnMicroControl.com
www.linkedin.com/in/rwlewis

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

Re: Newbe - copying folder structure

Post by admin »

blewis999 wrote:Let me know if this is something you want to consider (the promotion of your product), we are not looking for any commission. I just think this is an excellent product and needs further exposure.
You must be kidding if you think I'd say NO to this offer. Hey, GREAT, do it!!! :D :D :D

Thanks,
Don

PeterH
Posts: 2828
Joined: 21 Nov 2005 20:39
Location: DE W11Pro 24H2, 1920*1200*100% 3840*2160*150%

Re: Newbe - copying folder structure

Post by PeterH »

j_c_hallgren wrote:
admin wrote: :!: Tip: If you often need to create the same empty folder structure, then you should look into the New Items Menu. It's the coolest way to do this.
And if the built-in Help doesn't quite explain it to you, the wiki has this page: http://88.191.26.34/XYwiki/index.php/New_Items
Just a small problem here :?
I created a folder in NewItems: {yyyy}, which contained another folder {mm-dd} - a good idea at first sight. But the inner name wasn't substituted when inserting {yyyy} by "New Items". (Was just a test: I don't really need it...)

But this eventually should be mentioned in documentation?
(Or changed to function - but who will need that? :roll: )

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

Re: Newbe - copying folder structure

Post by admin »

PeterH wrote:
j_c_hallgren wrote:
admin wrote: :!: Tip: If you often need to create the same empty folder structure, then you should look into the New Items Menu. It's the coolest way to do this.
And if the built-in Help doesn't quite explain it to you, the wiki has this page: http://88.191.26.34/XYwiki/index.php/New_Items
Just a small problem here :?
I created a folder in NewItems: {yyyy}, which contained another folder {mm-dd} - a good idea at first sight. But the inner name wasn't substituted when inserting {yyyy} by "New Items". (Was just a test: I don't really need it...)

But this eventually should be mentioned in documentation?
(Or changed to function - but who will need that? :roll: )
Yup, I will mention it, thanks.

tiago
Posts: 589
Joined: 14 Feb 2011 21:41

Re: Newbe - copying folder structure

Post by tiago »

PeterH wrote:
j_c_hallgren wrote:
admin wrote: :!: Tip: If you often need to create the same empty folder structure, then you should look into the New Items Menu. It's the coolest way to do this.
And if the built-in Help doesn't quite explain it to you, the wiki has this page: http://88.191.26.34/XYwiki/index.php/New_Items
Just a small problem here :?
I created a folder in NewItems: {yyyy}, which contained another folder {mm-dd} - a good idea at first sight. But the inner name wasn't substituted when inserting {yyyy} by "New Items". (Was just a test: I don't really need it...)

But this eventually should be mentioned in documentation?
(Or changed to function - but who will need that? :roll: )
I'd like to have that feature. "New Items" should obey some scriptable variable templates, that wouldn't be bad at all...
Power-hungry user!!!

Stefan
Posts: 1360
Joined: 18 Nov 2008 21:47
Location: Europe

Re: Newbe - copying folder structure

Post by Stefan »

tiago wrote:
PeterH wrote: I created a folder in NewItems: {yyyy}, which contained another folder {mm-dd} - a good idea at first sight. But the inner name wasn't substituted when inserting {yyyy} by "New Items".
I'd like to have that feature. "New Items" should obey some scriptable variable templates, that wouldn't be bad at all...
Or just use an script instead.

To have this script at the same place as the other "New Items" items
there could be perhaps an feature to detect scripts in "NewItems" -folder?
Something like files with double .xys extension like "subfolders.xys.xys"
or by using an special {ThisIsAnScript} placeholder like "subfolders with date {XYS}.xys"


.

Post Reply