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

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

version 1.3, 2003/01/15 15:41:44 version 1.4, 2003/11/22 19:17:20
Line 19 
Line 19 
 #  #
   
 #  #
 # $Platon: $  # $Platon: scripts/shell/ssh-utils/put,v 1.3 2003/01/15 15:41:44 nepto Exp $
 #  #
   
 user=""  user=""
Line 27  machine=""
Line 27  machine=""
   
 ssh_put()  ssh_put()
 {  {
         tar cf - $* | ssh -l $user $machine -e none tar xvf -;          tar cf - "$@" | ssh -l $user $machine -e none tar xvf -;
 }  }
   
 ssh_get()  ssh_get()
 {  {
         ssh -l $user $machine -e none tar cf - $* | tar xvf -          ssh -l $user $machine -e none tar cf - "$@" | tar xvf -
 }  }
   
 if [ "$#" -lt 1 ]; then  if [ "$#" -lt 1 ]; then
Line 55  fi
Line 55  fi
 # if called with name 'put' --> try ssh_put()  # if called with name 'put' --> try ssh_put()
 #                     'get' --> try ssh_get()  #                     'get' --> try ssh_get()
 case $0  in  case $0  in
         *put) ssh_put $*;          *put) ssh_put "$@";
         ;;          ;;
         *get) ssh_get $*;          *get) ssh_get "$@";
         ;;          ;;
 esac  esac
   

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

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