| 12345678910111213141516171819202122232425262728 | #!/bin/bashTRASHDIR=".Trash"MOUNTPOINT="${1}"if [ "${MOUNTPOINT}" = "" ]; then    echo "usage: ${0} <mountpoint>"    exit 1fiif [ $EUID -ne 0 ]; then    echo "You must run ${0} as root"    exit 2fiif [ ! -e "${MOUNTPOINT}/.mergerfs" ]; then    echo "ERROR: ${MOUNTPOINT} does not appear to be a mergerfs mountpoint"    exit 3fiSRCMOUNTS=$(xattr -p user.mergerfs.srcmounts "${MOUNTPOINT}/.mergerfs" | tr : " ")for mount in ${SRCMOUNTS}do    DIR="${mount}/${TRASHDIR}"    mkdir -v --mode=1777 "${DIR}"doneexit 0
 |