Fix bug in temporary file deletion script.
This commit is contained in:
parent
558c71219b
commit
82b2b9f58d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user