Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] pulse files in /tmp on RHEL 6



On 3/12/2015 11:39 AM, Jerry Feldman wrote:
> Why not
>
> find /tmp -type d -name pulse\* -mtime +1 -exec rm -rf {} \;

It's a good habit to use find -print0 | xargs -0 to avoid problems with 
file names containing special characters.

-- 
Rich P.



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org