copy shares and permissions

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

is there a way to creating multiple files shares and copy permissions on a
remote server. I replicate the data allready and i want to create the shares
and permissions into a remote server by using a script. Is ti possible? i
have exported all the shares into a .cvs file.
Thanks
 
is there a way to creating multiple files shares and copy permissions on a
remote server. I replicate the data allready and i want to create the shares
and permissions into a remote server by using a script. Is ti possible? i
have exported all the shares into a .cvs file.
Thanks


See tip 8587 » How can I transfer a folder structure, shares, and permissions?
in the 'Tips & Tricks' at http://www.jsifaq.com

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
It is a good idea, but i allready have the folder structure transfer and the
data copied. I want to to copy permissions and shares form my old files
server. is there a way to do it through your script. I appreciate your help.
 
How you execute the script to copy permissions from file server into a new
file server where the folder hierarchy allready exist. Thank you
 
Remove the following:

for /f "Tokens=1*" %%a in ('type %namep%^|findstr /I /L /C:"+File"') do (
if not exist "%%b" MD "%%b"
)
for /f "Tokens=1*" %%a in ('type %namef%^|findstr /I /L /C:"+File"') do (
if not exist "%%b" MD "%%b"
)



How you execute the script to copy permissions from file server into a new
file server where the folder hierarchy allready exist. Thank you

Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Back
Top