Copying empty folder structures howto

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

Copying empty folder structures howto

#1 Post by Midas » Sun Jun 10, 2018 7:53 am

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: 7924
Joined: Wed Apr 11, 2007 8:06 pm
Location: US, Texas
Contact:

Re: Copying empty folder structures howto

#2 Post by webfork » Sun Jun 10, 2018 11:43 am

Midas wrote:
Sun Jun 10, 2018 7:53 am
As 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.
Supporting Net Neutrality - BattleForTheNet | Why this matters | More from EFF.org

FileHandler
Posts: 65
Joined: Sat Aug 15, 2015 7:11 pm

Re: Copying empty folder structures howto

#3 Post by FileHandler » Mon Jun 11, 2018 4:52 am

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: 4358
Joined: Mon Dec 07, 2009 7:09 am
Location: Sol3

Re: Pir (filesystem list utility)

#4 Post by Midas » Mon Jun 11, 2018 9:07 am

@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