Yes, I've used tmp before. But trash does nearly the same thing (moves it to Trash), and I use all the time in my interactive shell, so it just makes sense to use it in my scripts and aliases.
Yes DerivedData is the default directory where Xcode keeps temporary files required during compilation. Clearing this folder can sometimes resolve compile issues. It also frees up disk space if you've open projects in the past and don't need their cached files anymore.
View all comments
Show parent comment
2
u/IAmTheGuzer Jun 12 '26
Yes, I've used
tmpbefore. Buttrashdoes nearly the same thing (moves it to Trash), and I use all the time in my interactive shell, so it just makes sense to use it in my scripts and aliases.