Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Sunday, October 25, 2026

Diff for scripts/shell/ssh-utils/put between version 1.2 and 1.3

version 1.2, 2002/10/09 15:28:02 version 1.3, 2003/01/15 15:41:44
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
   
 # $Id$  #
   # scripts/shell/ssh-utils/ - SSH related shell utils
   #
   # put/get - puts file to destination server or
   #           gets file from destination server
   # ____________________________________________________________
   #
   # Developed by Lubomir Host <rajo@platon.sk>
   # Copyright (c) 2002-2003 Platon SDG, http://www.platon.sk/
   # All rights reserved.
   #
   # See README file for more information about this software.
   # See COPYING file for license information.
   #
   # Download the latest version from
   # http://www.platon.sk/projects/scripts/
   #
   
   #
   # $Platon: $
   #
   
 user=""  user=""
 machine=""  machine=""
Line 32  if [ -z "$user" ] || [ -z "$machine" ];
Line 52  if [ -z "$user" ] || [ -z "$machine" ];
         exit 1;          exit 1;
 fi  fi
   
 # if called with name 'put' --> try 'put()'  # if called with name 'put' --> try ssh_put()
 #                     'get' --> try 'get()'  #                     'get' --> try ssh_get()
 case $0  in  case $0  in
         *put) ssh_put $*;          *put) ssh_put $*;
         ;;          ;;
Line 41  case $0  in
Line 61  case $0  in
         ;;          ;;
 esac  esac
   
   
 # vim: ft=sh  # vim: ft=sh
   

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top