Advertisement
LightningStalker

eBay auction end time calculator

Sep 14th, 2014
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.37 KB | None | 0 0
  1. #!/bin/sh
  2. # Requires dateutils
  3. # script by The Lightning Stalker 2014
  4. #
  5. if [ -z $1 ]; then
  6. echo 'Show time left until end of auction in hh:mm:ss'
  7. echo 'Input must be actual eBay time (Pacific timezone)'
  8. echo 'Use it like this: ebaytl.sh YYYY-MM-DDTHH:MM'
  9. echo 'For example $ebaytl.sh 2014-09-14T14:29'
  10. exit
  11. fi
  12. ddiff --from-zone America/Dawson -f '%H:%M:%S' now $1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement