I’m connected to a device over a serial cable and using screen I have full access to the remote system.
How do I transfer an entire file(s) to my local system? Not just the contents of the file, I want the whole thing. I need to send this file as a sample to a third party so they’ll want to see metadata, encoding, etc. I want to copy the file exactly as it is, the data it contains isn’t really that important.
The remote system is Linux, but a proprietary box so I can’t guarantee what tools it has. Local system is running Xubuntu Xenial. I can install packages onto my machine, but not the remote one. My connection is over a USB serial adaptor, so screen is connecting through a USBtty.