I am performing a dry run using Rsync on 2 different boxes.
While i'm doing that, Under destination directory, I want a specific directory x to be ignored for sync.
Please let me know the exact pattern to ignore the directory.
The current command I'm using is:
rsync -avnc --delete $LOCAL_DIR $USERNAME@$DESTINATION_IP:$REMOTE_DIR
under DESTINATION_IP, I would want to ignore a particular directory under REMOTE_DIR.