tirnanog 1689345368 learn to recursively delete the contents of a directory with GNU find: find /path/to/dir -mindepth 1 -delete. Or, to use find portably: cd /path/to/dir && find . -depth ! -name . -exec rm -r {} + tirnanog 1689345403 forget tirnanog 1689345406 learn To recursively delete the contents of a directory with GNU find: find /path/to/dir -mindepth 1 -delete. Or, to use find portably: cd /path/to/dir && find . -depth ! -name . -exec rm -r {} +