Copy files without data


Is there anyway to copy an entire folder structure including the filenames but without the files data? I want to end up with a browsable folder structure and be able to ‘see’ the files names but they would be zero bytes.


I think this does what you want:

Some other related things which may be useful to other people who find this thread, but aren't as good for the exact question:

Hi Leo

Awesome! Thank you, gives me exactly the output i was after!

One small thing, is there anyway to change the output location from the source, ideally to the destination lister?


It's definitely possible by changing the script slightly. Best thing to do is ask in the thread for the script.