4 lines
153 B
Bash
Executable file
4 lines
153 B
Bash
Executable file
#!/bin/sh
|
|
# Find and remove sizeable files
|
|
case $1 in ([0-9]|[0-9][0-9]) threshold=$1; shift;; esac
|
|
find -size +${threshold:-50}M -exec rm -vi "$@" {} +
|