How to make an exact copy of a directory to an another partition?

1

I have a 20Gb folder on an ntfs drive. How can I make an exact of only that folder to an another ntfs volume?

By exact, I mean, copy pemissions; keep directories hard links (if any); and keep alternate data streams. Junctions should be copied as junctions and symbolic links as symbolic links.
It doesn't have to be done with windows. Other os like freebsd can be used. However, in windows it needs to works from winre.

Things like xcopy or robocopy were no help. I heard far manager can retain hard links, but I'm unsure.

A graphical solution would be a +

user2284570

Posted 2016-01-03T13:05:48.843

Reputation: 1 160

Answers

1

Use ln from Hermann Schinagl you can find it here. Free for personal use and some work use, check the licence. It does everything you need and is a Windows command line tool.

Sacha K

Posted 2016-01-03T13:05:48.843

Reputation: 877

ln doesn’t seems to deal with permissions. – user2284570 – 2016-01-03T13:45:14.507

Yes it does with --backup – Sacha K – 2016-01-03T13:47:02.853

It doesn't seems to deal with alternate data streams. – user2284570 – 2016-01-03T13:50:30.400

Yes it does, and by default The --noads option tells ln.exe not to copy Alternative Data Streams RTFM – Sacha K – 2016-01-03T13:53:05.157

I forgot it had to works in winre. and it doesn’t. – user2284570 – 2016-01-03T15:13:17.463