Using croc to transfer files between QEMU VM and the host

Moderator: Forum moderators

Post Reply
User avatar
rockedge
Site Admin
Posts: 5810
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2071 times
Been thanked: 2156 times
Contact:

Using croc to transfer files between QEMU VM and the host

Post by rockedge »

I am always looking for quick easy way of transferring files between a QEMU virtual machine and the host operating system. Most of the time FTP is a reliable and fairly universal way and is easy to set up using midnight commander, Thunar or gftp beats out setting up shared folders in testing rapidly advancing experimental distro builds in ISO form. The plan9 method or SAMBA also work nicely but while connecting to an older former workhorse, Bionic64-8.0, that is heavily customized for running Zoneminder and object recognition - facial recognition I came across a package I had installed called croc that handles peer to peer file transfers.

I installed the latest release package from GitHub repo
or the Releases Download Page

croc installed easily on KLV-Airedale-sr4 using xdeb from the command line, and worked OOTB! Made several transfers between the KLV running on a QEMU virtual machine and the host F96-CE_4

Sending from KLV-Airedale-sr4:

Screenshot.jpg
Screenshot.jpg (40.02 KiB) Viewed 533 times

Receiving in F96-CE_4:

Screenshot(33).jpg
Screenshot(33).jpg (13.3 KiB) Viewed 532 times

Perhaps a candidate for inclusion in the rootfs? :?:

Post Reply

Return to “KL-Dev_Work”