#!/bin/bash
# ds-store-duster: Remove all .DS_Store files recursively
# Usage: source this file, then use: ds-store-duster

dst() {
    find . -type f -name '.DS_Store' -exec rm {} +
}

# If script is executed directly (not sourced), call the function
if [ "${BASH_SOURCE[0]}" -ef "$0" ]; then
    dst "$@"
fi