cat /dev/null > file.log does not truncate large file in Darwin
In the past, on linux systems, I’ve been able to truncate large, open log files (that is, a file that is being actively written to by a process) using cat /dev/null > file.log.
In the past, on linux systems, I’ve been able to truncate large, open log files (that is, a file that is being actively written to by a process) using cat /dev/null > file.log.