RoboSharp 1.6.0

Prefix Reserved
dotnet add package RoboSharp --version 1.6.0                
NuGet\Install-Package RoboSharp -Version 1.6.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RoboSharp" Version="1.6.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RoboSharp --version 1.6.0                
#r "nuget: RoboSharp, 1.6.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RoboSharp as a Cake Addin
#addin nuget:?package=RoboSharp&version=1.6.0

// Install RoboSharp as a Cake Tool
#tool nuget:?package=RoboSharp&version=1.6.0                

logo

RoboSharp

AppVeyor Build

NuGet Packages

Nuget Nuget
Nuget Nuget
Nuget Nuget

Wiki - in progress - https://github.com/tjscience/RoboSharp/wiki

About

RoboSharp is a .NET wrapper for the awesome Robocopy windows application.

Robocopy is a very extensive file copy application written by microsoft and included in modern versions of Windows. To learn more about Robocopy, visit the documentation page at http://technet.microsoft.com/en-us/library/cc733145.aspx.

RoboSharp came out of a need to manipulate Robocopy in a c# backup application that I was writing. It has helped me tremendously so I thought that I would share it! It exposes all of the switches available in RoboCopy as descriptive properties. With RoboSharp, you can subscribe to events that fire when files are processed, errors occur and even as the progress of a file copy changes. Another really nice feature of RoboSharp is that you can pause and resume a copy that is in progress which is a feature that I though was lacking in Robocopy.

In the project, you will find the RoboSharp library as well as a recently updated sample backup application that shows off many (but not all) of the options.

If you like the project, please rate it!

Examples

See the Wiki for examples and code snippets

Bugs / Issues

Before submitting issues please ensure you are using the latest version available, this project is continuously being worked on and improved, so it maybe that a later version already resolve any problems you are having. Thank you.

Contributing to RoboSharp

First off, thanks! Please go through the guidelines.

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 is compatible. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 is compatible. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on RoboSharp:

Package Downloads
Davasorus.Utility.FileStorageCopy.fileStorageCopy

File Storage Copy for TEPS Utilities

FileSyncLibNet

A library to easily backup or sync 2 folders either once or in a given interval.

RoboSharp.Extensions

This is an Extension Package for RoboSharp, offering extension methods and classes that can be used to create custom IRoboCommand objects. - The AbstractIRoboCommand object should be used as the base for any custom IRoboCommands, as it provided the basic functionality. - Included is a ResultsBuilder and a PairEvaluator object to easily evaluate the Source/Destination file/directory pairs. RoboMover - This is a prebuilt IRoboCommand that is designed to move (not copy) files faster than RoboCopy, if the files are on the same root drive. - Robocopy will copy the file to the destination then delete from source, which is time consuming for large files being moved into a subfolder of the one they already reside in for example. - RoboMover will instead use File.Move() to simply move the file into the new directory, instead of wasting time copying then deleting, greatly improving throughput. - RoboMover always checks if the Source and Destination are on the same root, and if files are getting moved. If both conditions are true, it performs the move. If either condition is false, it will run as a standard RoboCommand.

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on RoboSharp:

Repository Stars
R2NorthstarTools/VTOL
A Manager and Installer For the Titanfall 2 +Northstar launcher.
Version Downloads Last updated
1.6.0 253 11/16/2024
1.5.3 3,280 5/31/2024
1.5.2 274 5/25/2024
1.5.1 849 4/26/2024
1.5.0 1,854 3/19/2024
1.4.2 275 3/16/2024
1.4.1 264 3/12/2024
1.4.0 131 3/12/2024
1.3.6 3,499 2/23/2024
1.3.5 10,122 10/25/2023
1.3.4 267 10/19/2023
1.3.3 221 10/17/2023
1.3.2 319 10/13/2023
1.3.1 2,574 10/10/2023
1.3.0 12,795 9/7/2023
1.2.9 647 8/30/2023
1.2.8 26,532 6/6/2022
1.2.7 697 5/13/2022
1.2.5 22,404 11/11/2021
1.2.4 6,179 8/4/2021
1.2.3 852 7/30/2021
1.2.2 18,437 10/26/2020
1.2.1 20,127 2/15/2020
1.2.0 49,502 9/15/2018
1.1.2 5,871 3/1/2018
1.1.1 1,252 2/17/2018
1.1.0 2,483 10/13/2017
1.0.27 1,458 6/7/2017
1.0.26 1,074 5/19/2017
1.0.25 6,289 10/2/2016
1.0.24 1,991 7/28/2016
1.0.23 1,754 5/23/2016
1.0.22 2,172 4/29/2016
1.0.21 1,441 4/27/2016
1.0.18 1,360 3/22/2016
1.0.0 1,786 2/25/2016

- Performance Optimizations.
           - Fixes SpeedStatistic parsing bug.
           - Added targets for NetFramework 4.6.2 and net4.8
           - Final release for NetFramework 4.5.2