Fix bug in temporary file deletion script.

This commit is contained in:
Tom Alexander 2022-12-15 00:41:53 -05:00
parent 558c71219b
commit 82b2b9f58d
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

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