Shweta Varshney

Shweta Varshney

  • 1.6k
  • 98
  • 967

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)