machine_setup/ansible/roles/base/files/cleanup_temporary_files

5 lines
161 B
Plaintext
Raw Normal View History

2022-10-28 05:10:07 +00:00
#!/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