Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if [ $# -equal 0 ] ;
- then
- echo "No parameters, Please, Input a Correct Directory"
- read i
- else
- i=$1
- fi
- if [ -e $i ] && [ -d $i ] ;
- then
- echo "Synchronizing requested folders"
- scp -r $i patelpn@athena.ecs.csus.edu:~/csc60/
- else
- echo "Error, Provided Incorrect Directory"
- fi
Add Comment
Please, Sign In to add comment