1

Is it possible to migrate many folders into one network share in windows? (Server 2012 R2 standard) I only need read access

Example:

d:\pictures\
e:\pictures\
f:\pictures\

to

\\server\pictures\


I'm currently doing this on a linux machine with symlinks which works pretty well actually. I am running a cronjob that add symlinks to /media/share from each subfolder of each picture folder on each drive /media/driveX/pictures/. There are no duplicated names in the subfolders.

I need now a additional windows machine.
Actually my plan was to set-up a type 1 hypervisor to run windows and linux parallel. But while thinking about I get the idea to migrate the existing linux machine into windows.

Uhm yeah and when you are curious why:
I've distribute my files over many drives since I don't and won't use any kind of raid. When one drive crashes this would be annoying but OK.

Btw: I'm aware that windows can't read from / write to linux filesystems.

Oh and I don't want to use windows server drive pools / storage spacing

Brettetete
  • 2,186

1 Answers1

2

NTFS supports symbolic links too, it's pretty powerful filesystem.

From Wikipedia:

The mklink command is used to create a symbolic link. It is a built-in command of cmd.exe in Windows Vista and later.

In XP, junction utility by Mark Russinovich is capable of working with reparse points, now offered by Microsoft as a part of Sysinternals suite.

Full wikipedia article: link

You should also read windows help, just type mklink /? in command line.

By default - you need admin rights to create sybolic links, so your script in task sheduler must be set to run from account that belongs to Administrators group.

If for some reasons you want to create them as user who is not in "Administrators" group - read this: link.

(post was edited and cleaned after discussion below)

Kamil
  • 2,686