Need to check this out some day: cs.exe compiled from [Wayback] sparse.zip which you can download from [Wayback/Archive] NTFS Sparse Files For Programmers
Archive for the ‘RoboCopy’ Category
NTFS Sparse Files For Programmers
Posted by jpluimers on 2024/09/25
Posted in C, C++, Development, NTFS, Power User, RoboCopy, Software Development, Visual Studio C++, Windows, Windows 10, Windows 11 | Leave a Comment »
robocopy: mirror with security without following junction paths
Posted by jpluimers on 2015/12/24
Command:
ROBOCOPY /MIR /SEC /SECFIX /XJ /W:1 /R:1 source destination
via:
- Windows 7 infinite loop while using Robocopy – Microsoft Community.
- Robocopy /MIR switch – mirroring file permissions – The Storage Team at Microsoft – File Cabinet Blog – Site Home – TechNet Blogs.
–jeroen
Posted in Power User, RoboCopy, Windows | 2 Comments »
Robocopy Exit Codes: 0 and 1 usually mean success
Posted by jpluimers on 2012/10/08
Most console applications return 0 (zero) as success.
But sometimes there are multiple success result codes, and the success depends on what you want to do with them.
One example is RoboCopy.
The zero result code means that nothing happened: no error occurred and nothing was copied, because there was no need to.
But for most RoboCopy scenario’s result code 1 (one) is also success. It means that no error occurred and that one ore more files were copied.
In fact the RoboCopy result codes form a bitmap explained on ss64.com.
Most RoboCopy use cases will have [0,1] as the set off success result codes.
–jeroen
via: Robocopy Exit Codes.
Posted in Batch-Files, Development, Power User, RoboCopy, Scripting, Software Development, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 3 Comments »
Making RoboCopy silent (via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow)
Posted by jpluimers on 2012/09/14
A while ago, I got a question from a colleague on how to silence RoboCopy.
The RoboCopy /? help is a bit awkward to read, so there is this nice SO answer by Ruben Koene:
So together with previous answer you get the following and it’s silent:
ROBOCOPY [target] /njh /njs /ndl /nc /ns /np /nfl
And there is the FIND way where I marked the relevant options with an asterisk (*):
C:\Users\jeroenp>robocopy /? | find /i "No"
/S :: copy Subdirectories, but not empty ones.
/NOCOPY :: COPY NO file info (useful with /PURGE).
/PURGE :: delete dest files/dirs that no longer exist in source.
/PF :: check run hours on a Per File (not per pass) basis.
n must be at least 1 and not greater than 128.
/XJ :: eXclude Junction points. (normally included by default).
/X :: report all eXtra files, not just those selected.
* /NS :: No Size - don't log file sizes.
* /NC :: No Class - don't log file classes.
* /NFL :: No File List - don't log file names.
* /NDL :: No Directory List - don't log directory names.
* /NP :: No Progress - don't display percentage copied.
* /NJH :: No Job Header.
* /NJS :: No Job Summary.
/NOSD :: NO Source Directory is specified.
/NODD :: NO Destination Directory is specified.
–jeroen
via: backup – How can I make robocopy silent in the command line except for progress? – Stack Overflow.
Posted in Power User, RoboCopy, Windows, Windows 7, Windows 8, Windows Server 2000, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Vista, Windows XP | 4 Comments »





