I Need help to write a CShell script that coiesy subdirectories in FolderA to FolderB using CShell + Rsync on a CentOsServer:
Here is the scenario:
• I have 2 remote servers ServerA and SeverB.
• I mounted 2 Directories from the remote servers to my local CentOsServer. Mount details: ServerA( Folder1), and ServerB (Folder2) .
• The Cshell script should copy folders from ServerA( Folder1) to ServerB (Folder2).
• The script should check to see if the folder exsist in ServerB (Folder2). If the folder does not exsist copy the folder including all files
Can someone please help me with the Cshell script to do this?