パスワード生成スクリプト
[sunny256-utils.git] / zmodem_dl
blob709cfb6fdb6f46a8112c25c54c0211e81cdc0e48
1 #!/bin/sh
3 #==============================================================================
4 # zmodem_dl
5 # File ID: aa120564-eb2d-11e7-bc55-f74d993421b0
7 # Wrapper for rz (ZMODEM download) in screen(1), download everything to
8 # ~/dl/zmodem/
10 # Author: Øyvind A. Holm <sunny@sunbase.org>
11 # License: GNU General Public License version 2 or later.
12 #==============================================================================
14 progname=zmodem_dl
15 VERSION=0.2.1
17 dldir=~/dl/zmodem
19 orig_stty=$(stty -g)
20 test -d "$dldir" || mkdir -p "$dldir"
21 cd "$dldir" || exit 1
22 rz -vv -b -E "$@"
23 stty $orig_stty
25 # vim: set ts=8 sw=8 sts=8 noet fo+=w tw=79 fenc=UTF-8 :