def _getGlob(args):
    """
    Extract the glob value from the args.  Items equal to 'from', or beginning
    with a dash are ignored.
    """
    if len(args) > 0 and args[0] != 'from' and not args[0].startswith('-'):
        return args[0]
    else:
        return '*'
