Copy / snychronize folder structure without files?

Discussion, questions and support.
Post Reply
Message
Author
Dirk
Posts: 187
Joined: 02.06.2010, 13:38

Copy / snychronize folder structure without files?

#1 Post by Dirk » 01.04.2014, 12:57

Could I somehow just synchronize or copy only the folders (without all of the files), the complete folder structure from one side to the other?

Synchronizing with excluding all files does not appear to work, the folders obviously automatically are excluded, also.
FC newest stable version, portable
Win 7 64bit

Karol
Posts: 988
Joined: 19.08.2007, 12:05

Re: Copy / snychronize folder structure without files?

#2 Post by Karol » 01.04.2014, 14:58

Workaround:
- copy first in some TEMP1 folder the entire structure (files and folders)
- go to TEMP1 and swich to "Plain view - file, folders" Ctrl+Alt+B
- select all files with Edit > Select all files
- delete selected files
- you have the folder structure now

Dirk
Posts: 187
Joined: 02.06.2010, 13:38

Re: Copy / snychronize folder structure without files?

#3 Post by Dirk » 01.04.2014, 15:53

Many thanks, Karol,

Yes, that is a very good procedure, the problem is, I would have to copy about 100 (or 200) GB first or so, it would last very long. And doing it often, it would be a bit inconvenient.

Many thanks again.
FC newest stable version, portable
Win 7 64bit

User avatar
alf5000
Posts: 559
Joined: 12.04.2012, 17:59
Location: Austria

Re: Copy / snychronize folder structure without files?

#4 Post by alf5000 » 01.04.2014, 18:49

if you want to do it with FCXE - I have no idea

but you can use xcopy command (blizzing fast - reliable)
example:
xcopy C:\Folders D:\Folders /t /e
(/t --> copy folder tree)
(/e --> copy empty folder as well)
(win10pro x64) - (latest FCXE x64 portable)

Dirk
Posts: 187
Joined: 02.06.2010, 13:38

Re: Copy / snychronize folder structure without files?

#5 Post by Dirk » 01.04.2014, 19:43

Many thanks, alf5000.

Yes, that works great, copies the complete folder structure (without files).

Many thanks again.

By the way, is there a command to (more or less) also copy the files, but copy them as 0-byte-files (dummies so to say), so the same extension without content with 0 byte, just for testing or to have the same file and folder structur as the original?
FC newest stable version, portable
Win 7 64bit

Post Reply

Who is online

Users browsing this forum: No registered users and 12 guests