Shweta Varshney

Shweta Varshney

  • 1.5k
  • 86
  • 652

About backup bulk images

Feb 22 2024 7:38 AM

I used bash command but it give error command not found

#! /bin/bash


$sourcePath = "\\cloud server\shared\folder"


$destinationPath = "E:\backup"


robocopy $sourcePath $destinationPath /E /Z /COPYALL /R:3 /W:2


Write-Host "Backup completed!"

What should I do? Please suggest.


Answers (3)