Advertisement
Guest User

upload

a guest
Apr 10th, 2020
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.26 KB | None | 0 0
  1. #!/usr/bin/env zsh
  2. echo "token $2 find drop 0<> cr ."
  3. read -u 1 ignore_echo
  4. read -u 1 found ok
  5. if [ "$found" = 0 ]
  6. then
  7.     echo "Uploading $1 because $2 is undefined." >&2
  8.     ascii-xfr -v -s "$1"
  9. else
  10.     echo "Skipping $1 because $2 is already defined." >&2
  11. fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement