title shares
section 1
project bgscripts-core
volume General Commands Manual
date April 2020
=====
NAME
  shares - reconnect stale network shares
SYNOPSIS
  shares [-d {0..10}] [-uVs] [-r|-k] [-a] [-t <type>] [/mounted/directory [ ... ]]
OPTIONS
  -d {0..10}  Set debug level, with 10 as maximum verbosity.
  -u --usage  Show help message.
  -V --version  Show version number.
  -s --seconds  Set delay in seconds. NOT ACTUALLY IMPLEMENTED!
  -r --remount  Remount shares.
  -k --keepalive  Touch shares to keep them from timing out.
  -a --all  Affect all shares. Can be limited with `-t`. Default choice if no directories are provided.
  -t <type>  Only this type of network share. Needs `-a` flag.
  One of [-r|-k] is required. The default behavior is to exit with an error message.
DESCRIPTION
  Use `shares(1)` to interact with network shares. Keep network mounts from going stale with `-k` or if they have gone stale, use `-r`.
AUTHOR
  <bgstack15@gmail.com>
COPYRIGHT
  CC-BY-SA 4.0
BUGS
  If your network connections are going stale, you have a big problem and this little script is just a bandage on a big wound.
SEE ALSO
`mount(8)` `bounce(1)`
