Is there a way to recreate file/folder structure from source to target but without any content?
better yet, is it possible to zip it up?
I think this will be better understood with an example.
Say if i have a source drive D: with the following
After the zip/copy operation i want this on the target E: drive (can be another computer)
...
I was thinking that xxcopy or robocopy or some other copy utility or zip utility might have this feature but for the life of me i can't find it.
This is useful in recreating directory and file structures on which you can run various tests for finding files ...etc. and it would be easy to transfer over the internet without the size implications.
I have to do this for about 50000+ files
I've used Cathy, Locate, Everything, and i know those things are wicked fast, and they have the information i need, but then how to create a routine/plugin to create those files?
I know there is a manual way to do it, something like dump all filenames to a text file, zip it up, and then extract it, and send it through a program that will create a file for each line. But then this requires the program to exist on one end, whereas if it were a zip it would work wherever.
Sigh, i'm over thinking this. But any ideas will be appreciated.
better yet, is it possible to zip it up?
I think this will be better understood with an example.
Say if i have a source drive D: with the following
Quote
D:\test.txt (size 100 MB)
D:\a\b.ini (size 1 MB)
D:\z\y\x\c.pdf (size 1 GB)
After the zip/copy operation i want this on the target E: drive (can be another computer)
Quote
E:\test.txt (size 0 bytes)
E:\a\b.ini (size 0 bytes)
E:\z\y\x\c.pdf (size 0 bytes)
...
I was thinking that xxcopy or robocopy or some other copy utility or zip utility might have this feature but for the life of me i can't find it.
This is useful in recreating directory and file structures on which you can run various tests for finding files ...etc. and it would be easy to transfer over the internet without the size implications.
I have to do this for about 50000+ files
I've used Cathy, Locate, Everything, and i know those things are wicked fast, and they have the information i need, but then how to create a routine/plugin to create those files?
I know there is a manual way to do it, something like dump all filenames to a text file, zip it up, and then extract it, and send it through a program that will create a file for each line. But then this requires the program to exist on one end, whereas if it were a zip it would work wherever.
Sigh, i'm over thinking this. But any ideas will be appreciated.







.







- carpe noctem
I gave it a test on a folder with 5200 files (184 folders) in it and it was done in around eight seconds.
.