PC Review


Reply
Thread Tools Rate Thread

copy shares and permissions

 
 
=?Utf-8?B?WWlhbm5p?=
Guest
Posts: n/a
 
      10th Nov 2005
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
 
Reply With Quote
 
 
 
 
Jerold Schulman
Guest
Posts: n/a
 
      10th Nov 2005
On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:

>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
 
Reply With Quote
 
=?Utf-8?B?WWlhbm5p?=
Guest
Posts: n/a
 
      10th Nov 2005
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.

"Jerold Schulman" wrote:

> On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:
>
> >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
>

 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      11th Nov 2005

The script in tip 8587 in the 'Tips & Tricks' at http://www.jsifaq.com does that.


On Thu, 10 Nov 2005 06:45:13 -0800, Yianni <(E-Mail Removed)> wrote:

>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.
>
>"Jerold Schulman" wrote:
>
>> On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:
>>
>> >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
>>


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Reply With Quote
 
=?Utf-8?B?WWlhbm5p?=
Guest
Posts: n/a
 
      11th Nov 2005
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" wrote:

>
> The script in tip 8587 in the 'Tips & Tricks' at http://www.jsifaq.com does that.
>
>
> On Thu, 10 Nov 2005 06:45:13 -0800, Yianni <(E-Mail Removed)> wrote:
>
> >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.
> >
> >"Jerold Schulman" wrote:
> >
> >> On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:
> >>
> >> >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
> >>

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

 
Reply With Quote
 
Jerold Schulman
Guest
Posts: n/a
 
      13th Nov 2005
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"
)



On Fri, 11 Nov 2005 07:46:10 -0800, Yianni <(E-Mail Removed)> wrote:

>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" wrote:
>
>>
>> The script in tip 8587 in the 'Tips & Tricks' at http://www.jsifaq.com does that.
>>
>>
>> On Thu, 10 Nov 2005 06:45:13 -0800, Yianni <(E-Mail Removed)> wrote:
>>
>> >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.
>> >
>> >"Jerold Schulman" wrote:
>> >
>> >> On Wed, 9 Nov 2005 16:37:04 -0800, Yianni <(E-Mail Removed)> wrote:
>> >>
>> >> >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
>> >>

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


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy local users and groups, copy shares with security, copy homeuser folders usenet@sphere10.com Microsoft Windows 2000 Active Directory 1 17th Feb 2009 01:31 PM
Copy local users and groups, copy shares with security, copy homeuser folders usenet@sphere10.com Windows Vista General Discussion 2 17th Feb 2009 01:31 PM
copy files, shares and permissions =?Utf-8?B?c3RldmU=?= Microsoft Windows 2000 2 29th Jun 2006 11:38 PM
permissions and shares jmos Microsoft Windows 2000 File System 1 13th Aug 2004 08:59 PM
Permissions through shares Tim Microsoft Windows 2000 Active Directory 0 14th Oct 2003 01:39 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 PM.