Arduino IDE 2.0 beta silently fails if library example has .pde extension

Thanks for reporting this @lmtanco!

I can reproduce it. You can see the problem when run from the command line:

root ERROR Request cloneExample failed with error: ENOENT: no such file or directory, rename 'c:\Users\<user name>\AppData\Local\Temp\.arduinoIDE-unsaved2021827-16716-11heo0w.vdua\Interrupt\Interrupt.pde' -> 'c:\Users\<user name>\AppData\Local\Temp\.arduinoIDE-unsaved2021827-16716-11heo0w.vdua\Interrupt\Interrupt.ino'

It's trying to rename the sketch in the temporary folder rather than in its true path under the library installation.

I don't have this problem with a standalone sketch using the .pde file extension.

I would recommend you to open a formal bug report in the issue tracker for the Arduino IDE 2.x:
https://github.com/arduino/arduino-ide/issues/new?labels=type%3A+imperfection&template=bug_report.md

This will bring the bug to the attention of the IDE developers and allow everyone to efficiently track the progress of the fix.