I know that there are many ways to do this but I want to know which is the best and easy way to do a file transfer.
Syncthing. Set it up once then forget it.
I use Nextcloud, but same idea. It annoys me to no end that transferring data over network is the easiest approach. I really wish you could just plug in the phone and have it act as a usb drive the way you used to be able to years ago.
You still can do that, at least with AOSP based OSes.
The only thing is that the destination OS must support the protocol (Debian in raw no, Debian with GNOME yes given some faulty dependencies) and choose in the notifications menu to act as USB drive instead of just charging.
Ah ok, I’m on LineageOS, and does looks like you can get it to mount https://danten.io/debian-mount-your-lineageos-phone/
So is just MTP for transferring files too.
That means that GNOME use FUSE or similar to support it at user level.
I am on LineageOS too.
Using TDE I cannot mount the phone directly. Won’t be detected but I didn’t investigate what I need to mount it.
I know that GNOME use these dependencies and integrates them very well.
I can mount it perfectly with GNOME.
Ah good to know it does work, gonna have to investigate what I’m doing with mine. :)
I recently tried it and I am pretty sure that it was a significant drain on my battery. I wasn’t connected to any other devices though, since I only installed the app and then forgot about it. Do you experience the same behavior?
Use Syncthing-Fork for android. You can set it to only run once per hour, or click a force start button to immediately sync.
Amazing app btw.
Yes, I experience this on Android. My solution is to only enable syncthing when the phone is charging (it’s in the settings) but my PC being on and my phone being charged doesn’t usually happen at the same time, so I have another computer in my network act as another node in my syncthing network. This way every night when I charge my phone everything from my PC is synchronized to my second computer, which is always on and can synchronize to my phone.
hmm. I think that I had syncthing turned off. But that wouldn’t make sense that it would still drain the battery. Weird, maybe it wasn’t syncthing after all
Sorry, I installed bitcoin miners on your phone
D:
D:
deleted by creator
Works even with Windows and has all sorts of nice features including sending files between the devices. You need to have both devices connected to the same wifi though.
Just beat me to the punch, I was about to recommend this. KDE Connect is a wonderful piece of software that works on Windows, Linux and Mac (maybe idk). This only works if you have an android phone though, if it’s between iOS and a pc you’re SOL. The only thing I could really figure out was just uploading all the files from my phone or my PC I wanted to transfer onto gofile. Better than dealing with apple clouds and weird third party apps.
USB cable. If that’s not what you’re looking for, maybe something like Nextcloud?
Alternatively Syncthing. Or magic wormhole.
Magicwormhole is really great
USB cable.
Was about to comment this. Simple and straightforward, no real need to use more complex over-the-network stuff if you’re just sporadically sending some files from one device to the other.
Transfer speeds are great too and if you’re on USB-C then you can transfer your entire media library in minutes, I do this every so often to clear space since HD photos and videos are ridiculously huge now.
I mean, MTP is kinda slow cus of the lack of multiplexing, but yeah, it can definitely be faster than network protocols
One time or recurrent?
For the first case, Trebleshot is your best option.
And for the second, Syncthing as suggested by Dessalines.
If they’re both on the same network, Snapdrop is pretty good https://snapdrop.net/
There’s an android app but it works fine in a browser.
i use
usb cable:
adb push/pull
python3 -m http.server 9000
‘Share to Computer’ F-Droid app
deleted by creator
yep especially KDE connect which is just about perfect for syncing files between devices
I generally try it with snapdrop first but if for some reason it isn’t working, I use one of the firefox send instance.
there’s also file.pizza which I never got working.
Haven’t tried it myself, but another cool way is to send images and other files to your phone as attachments to a notification:
adb over tcp/ip works like a charm
deleted by creator
Some programs I know:
https://github.com/linuxmint/warpinator
https://f-droid.org/packages/me.zhanghai.android.files/ This one is a file explorer with FTP server support.
If you have some technical ability and are on Android I’d setup sshd on the phone (there are various apps to do this easily) and use rsync(1) or scp(1).
If you want something less technical, I use the Conversations app on my phone and Dino on my desktop for chat and sometimes send files to myself. Not ideal, but it does work pretty well for one-off smaller files.