Skip to content

Instantly share code, notes, and snippets.

View bmangesh's full-sized avatar
🎯
Focusing

MB Bharsakle bmangesh

🎯
Focusing
  • India
View GitHub Profile
@bmangesh
bmangesh / backup.sh
Created October 12, 2014 09:45
This Script is Used to Take Daily Backup of User Home Directory
#! /bin/bash
# Aim : This Script is mainly written to take a backup of User's Home Directory
# Author : MANGESHKUMAR B BHARSAKLE
# 1: userslist.txt root@192.168.0.24 /var/tmp/backup root@desktop24.example.com 7
if [ $# -ne 4 -a $# -ne 5 ]; then
echo "cla msg"
exit 9
fi