How do I export my activities as GPX files from my Edge 1040?

I can only find information on how to import GPX files to Garmin Connect, but I want to export GPX files from my Edge 1040.

The only way I find how to do it is through Garmin Base Camp, but that's very inconvenient.

Is there any easy way to do that?

In my old Garmin eTrex, I can simply copy the GPX files from the Garmin folder from my device. But it looks like on Edge, the gpx files don't exist and is only accessible through basecamp.