Solved

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

Posted on 2010-09-11
5
796 Views
Last Modified: 2012-05-10
How to copy just 1 file with NTFS security with ROBOCOPY?
0
Comment
Question by:SAM2009
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 84

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
A procedure for exporting installed hotfix details of remote computers using powershell
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

726 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