Skip to content

Instantly share code, notes, and snippets.

@orymate
Created April 18, 2012 13:51
Show Gist options
  • Save orymate/2413712 to your computer and use it in GitHub Desktop.
Save orymate/2413712 to your computer and use it in GitHub Desktop.
scp () {
for i in $*
do case $i in
*:*) command scp $*
return $?
esac
done
echo No remote path parameter. Aborting.
return 1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment