dotfiles/.local/bin/scripts/delbig

4 lines
83 B
Bash
Executable File

#!/bin/sh
# Find and remove sizeable files
find -size +${1:-50}M -exec rm -vi {} +