Cleaner_42 icon indicating copy to clipboard operation
Cleaner_42 copied to clipboard

fix temporary file cleanup to properly handle filenames with spaces a…

Open triangle-motelti opened this issue 2 months ago • 0 comments

the temporary file cleanup in LinuxCleaner_42.sh used unquoted command substitution (clean_glob $(find /tmp ...)) which failed on filenames containing spaces or special characters due to improper word splitting

replaced with find -exec command which safely processes each file individually without relying on shell expansion

find /tmp -type f -user "$USER" -exec rm -f {} ; 2>/dev/null

ensures reliable cleanup of all temporary files regardless of filename complexity

triangle-motelti avatar Oct 21 '25 21:10 triangle-motelti