Copying empty folder structures howto

Share interesting information or links related to portable apps here.
Post Reply
Message
Author
User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Copying empty folder structures howto

#1 Post by Midas »

As I spent way longer retrieving this than I thought I should, here's a quick post to compile relevant solutions...

Prefered:
Other:
References:

Copying Directory Structures without Files
@ cects.com /copying-directory-structures-without-files/

How to copy a directory structure without copying files?
@ superuser.com/questions/530128/

BTW, TreeComp (viewtopic.php?t=7396) might also be handy in similar situations.
folder dir structure

User avatar
webfork
Posts: 10818
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Copying empty folder structures howto

#2 Post by webfork »

Midas wrote: Sun Jun 10, 2018 7:53 amAs I spent way longer retrieving this than I thought I should
I have a lot of those. Still, you never know what tools are going to be exactly what someone's looking for.

User avatar
FileHandler
Posts: 137
Joined: Sat Aug 15, 2015 7:11 pm

Re: Copying empty folder structures howto

#3 Post by FileHandler »

I really appreciate this info. It will replace my present workflow which consists of
1) reading out a folder structure with https://www.pekspro.com/products/pir/
2) then injecting the generated list into http://www.dcmembers.com/skwire/downloa ... 2-folders/ to create an empty set of the same folder structure.

I was not aware of XCopy or RoboCopy being able to pull this off in one command only. Even better, to have tools like TreeCopy. Many thanks. :!:

User avatar
Midas
Posts: 6710
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pir (filesystem list utility)

#4 Post by Midas »

@FileHandler: nice to know, thanks. 8)

Had never checked Pir -- also mentioned by shnbwmn (@ viewtopic.php?p=82251#p82251) -- which isn't really portable, BTW...

Image


Pir saves its settings to 'HKCU\Software\PEK's Productions', but fret not, yaP can help here... ;)

Code: Select all

; configuration file for yaP v0.7.1.5 (http://rolandtoth.hu/yaP/)
; application name: Pir
; version: v1.11
; website: https://www.pekspro.com/

[GENERAL]
application = Pir.exe

; commandline = 
; workdir = 

[BEFORE]
regkey = HKCU\Software\PEK's Productions

...

Post Reply