What are Coding Snacks?

Coding Snacks represent the best of DonationCoder.

On a special section of our forum, anyone can post an idea for a small custom utility/program.

Coders who hang out on our forum keep an eye out for interesting requests and when they see one that catches their interest, they code it and release it to the public for free.

People who find the tools useful are encouraged to donate directly to the coders to show their appreciation.

Forum Links:

  • Browse completed coding snacks: here.
  • Browse and submit new requests: here.
Latest Forum Posts

The Concept
I love your site, and the concept is brilliant
J.F.
J.F. image

What are Coding Snacks?

Coding snacks are small custom utilities written by coders who hang out on DonationCoder in response to requests posted on our forum.

You are viewing a specific blog item. Click here to return to the main blog page.

Zero Zipper: Recreate files but without content to target drive

blog clipart
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

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)

E:\test.txt (size 0 bytes)
E:\a\b.ini (size 0 bytes)
E:\z\y\x\c.pdf (size 0 bytes)

...

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

Click here to read more and download the coding snack written by a dc member..



Share on Facebook