Send files directly to external storage mounted in other qube

Original forum link
https://forum.qubes-os.org/t/23514
Original poster
SteveC
Created at
2024-01-05 17:45:19
Posts count
38
Likes count
22

Split from original thread: https://forum.qubes-os.org/t/quick-quality-of-life-improvements-thread/23380

If you need to move/copy a LARGE file from one qube to another, and you're going to put that large file onto some sort of external storage at the destination, you might be concerned about the useless write to your SSD involved in copying to the destination's QubesIncoming directory. Or the file might be too large to fit!

Simple solution: on the destination, replace QubesIncoming (or QubesIncoming/<source-qube-name>) with a soft link to someplace on your external storage. That way the qvm-copy (or qvm-move) goes directly to your external storage and you don't have to worry about an extra write to an SSD, or the file being too big for the destination qube's allocated space. (I played around with mounting ramdisks and the like,,,then realized this was much simpler and still works.)