Solved

How to copy just 1 file with NTFS security with ROBOCOPY?

Posted on 2010-09-11
5
791 Views
Last Modified: 2012-05-10
How to copy just 1 file with NTFS security with ROBOCOPY?
0
Comment
Question by:SAM2009
5 Comments
 
LVL 65

Expert Comment

by:rockiroads
ID: 33655679
What do you mean by ntfs security, are you talking about the security info as well?

/secfix I think might do it
0
 
LVL 65

Accepted Solution

by:
rockiroads earned 100 total points
ID: 33655682
actually it might just be /sec. I am confirming this with the list of switches here http://www.mydigitallife.info/2007/05/07/robocopy-syntax-command-line-switches-and-examples/
0
 
LVL 83

Assisted Solution

by:oBdA
oBdA earned 100 total points
ID: 33655964
You just add the file name(s) as argument after the source and target folder:
robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /copyall
0
 
LVL 6

Assisted Solution

by:Hisham_Elkouha
Hisham_Elkouha earned 50 total points
ID: 33656140
/sec would do it
0
 
LVL 1

Author Closing Comment

by:SAM2009
ID: 33659234
I already tried /sec and /copy...both work fine but there was something that maked me confused.

Exemple: robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /copyall

or robocopy "S:\ource\FOLDER" "T:\arget\FOLDER" "TheFileName.ext" /sec


With robocopy XP010 even if folder in target does not exist it will create it and copy file with security NTFS. This is not the case with XP027, with XP027 version like in Win 2008 if folder specified in target is missing the file will be copied but not the permisssion.

Thanks for your helps.
0

Featured Post

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Learn about cloud computing and its benefits for small business owners.
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now