machine_setup/ansible/roles/base/files/cleanup_temporary_files
2022-12-15 18:29:21 -05:00

5 lines
161 B
Bash

#!/usr/bin/env bash
#
# Delete temporary files on entire disk
find / -type f '(' -name '*.orig' -or -name '*~' -or -name '*.core' ')' -delete -print 2>/dev/null