Skip to content

Commit

Permalink
Add SCP tool
Browse files Browse the repository at this point in the history
  • Loading branch information
b3b0 authored Apr 30, 2018
1 parent 08713d7 commit f501bff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions grasshopper
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ elif [[ $1 = "-s" ]]; then
vi /usr/share/grasshopper/servers.cfg
elif [[ $1 = "-v" ]]; then
echo "v.1.0-1"
elif [[ $1 = "-t" ]]; then
ruby /usr/share/grasshopper/graSSHopper-scp.rb
elif [[ $1 = "-h" ]]; then
cat << EOF
GRASSHOPPER
Expand All @@ -26,6 +28,7 @@ USAGE:
- a: automatic, runs commands in commands.cfg against servers in servers.cfg
- c: Edit commands.cfg
- s: Edit servers.cfg
- t: SCP version of the tool
EOF
else
echo "Running in normal mode..."
Expand Down

0 comments on commit f501bff

Please sign in to comment.