#!/usr/bin/env bash set -eo pipefail if [[ "$1" == "-h" || "$1" == "--help" ]]; then cat < Move files to trash using gio. Options: -h, --help Show this help message Arguments: files Files or directories to move to trash EOF exit 0 fi gio trash "$@"