#!/usr/bin/env bash

set -o errexit
set -o nounset

if (( $# != 1 ))
then
  echo "Usage: $0 <PATH>" >&2
  exit 1
fi

chflags nohidden "$1"
