public static async Task <IList <FileInBatchResult> > ExecuteAsync(MoveInput input, MoveOptions moveOptions, CancellationToken cancellationToken)
        {
            var result = await FileBatchCommand.ExecuteAsync(input, moveOptions, MoveFilesAsync, cancellationToken, actionNameInErrors : "moved");

            // delete source files
            File.DeleteExistingFiles(result.Select(x => x.SourcePath));

            return(result);
        }
 public static Task <IList <FileInBatchResult> > ExecuteAsync(CopyInput input, CopyOptions options, CancellationToken cancellationToken)
 {
     return(FileBatchCommand.ExecuteAsync(input, options, CopyFileAsync, cancellationToken, actionNameInErrors: "copied"));
 }