At some point (in the trashes tool) I'm parsing trash output for error strings. So far I've encountered "volume doesn't have a trash" and "no permissions to trash file".
It seems that these error message come directly from the macOS system. Do you know if there's an info document somewhere that lists all possible stderr messages of the system's move-to-trash routine?
I am using your
trash
CLI in this set of tools: https://github.com/JayBrown/Trash-ToolsAt some point (in the
trashes
tool) I'm parsingtrash
output for error strings. So far I've encountered "volume doesn't have a trash" and "no permissions to trash file".It seems that these error message come directly from the macOS system. Do you know if there's an info document somewhere that lists all possible
stderr
messages of the system's move-to-trash routine?