venam
Hello fellow nixers,
In this thread let's share how we share files and media with others.

In relation with the entry of last week newsletter "Dropbox is dropping support" in issue 89. I thought of opening the topic of how everyone handles file sharing, especially media files. It's not uncommon to find ourselves in a situation where we have to sync or at least give to someone else a file that resides on our machine, so what do you do in that scenario.

from Dropbox, to rsync and ftp, to SAMBA shares, to NAS (network attached storage), to putting files on your http web server index and display them prettily with h5ai, to centralized home media center on raspberry pi like Kodi or Xbian or others, to any other media center solution, to a mini uploader like paste.xinu.at , to sharing physical media like USB and DVDs, to your own solution.

In my case I use a simple uploader paster for quick small files and when it comes to big files I use a physical medium, a harddisk or USB usually, as my internet speed isn't able to send enormous files. The disadvantage is that I can't share files I would like to share with people that are not next to me.

What machine or device do you use to share media and what is your solution, how do you handle this, what are the downsides to your solution?
jkl
I usually use ShareX on Windows, but of course that's not the ultimate solution for everyone. Generally, simple uploaders are awesome unless it is sensitive data. Framapic is sadly pausing, I loved that, but I'm too lazy to set up my own ...
venam
(25-08-2018, 12:13 PM)jkl Wrote: Framapic is sadly pausing
Nice, it's from the Framasoft team. Maybe someone here can set an instance up.
acg
My classmates use Google Drive, so that's what I used with them and with Dropbox's news I've been looking for other solutions. First one that comes to my mind is ownCloud, which I've setup before on a VPS but never really tried it as my main host/sharing platform.
venam
(25-08-2018, 10:37 PM)acg Wrote: with Dropbox's news I've been looking for other solutions
I'm also using Dropbox to share ascii art files with the group I'm part of, I think I'll continue using it as I'm on a non-encrypted ext4 filesystem and support for that isn't dropping. I assume you're using an encrypted partition or some other type of filesystem.
oda
When I need to share small files I use 0x0.st. To that end, I have a short function in my zshrc so I can use it easily:
Code:
0x0() { curl -F"file=@$1" https://0x0.st; }

For larger files / more complicated permissions / etc, I use Seafile on my own server.
zge
I'm surprised that nobody has mentioned Syncthing yet. I use it to synchronize text documents between my devices, automatically, without any external server. It works just as well when all devices are in the same network, or I'm not at home. As soon as I tidy my pdf and image collections up, I'll be adding them too, albeit without version control.

The major downsides would be
  • Requires at least two nodes to be active to synchronize (this wasn't too much of a issue for me, since I have one node that's always on)
  • It's still under development, so there are a few bugs and changes that pop up from time to time
  • the android client is very disapointing
  • one has to put some thought into setting the network up to avoid dead or duplicate nodes
Dworin
I use Dropbox for some stuff, Google drive, send files by Telegram or Whatsapp for others. It depends on who I'm working with.

Syncthing looks interesting.
thuban
+1 for synthing.

For family or rookies, I use framadrop.org or https://transfer.sh/

Code:
transfer.sh() {
  if [ $# -eq 0 ]; then
    echo -e "No arguments specified. Usage:\necho transfer /tmp/test.md\ncat /tmp/test.md |
    return 1;
  fi
  tmpfile=$( mktemp -t transferXXXXXXX );
  if tty -s; then
    basefile=$(basename "$1" | sed -e 's/[^a-zA-Z0-9._-]/-/g'); curl --progress-bar --uploa
  else
  curl --progress-bar --upload-file "-" "https://transfer.sh/$1" >> $tmpfile ;
  fi;
  cat $tmpfile; rm -f $tmpfile;
  echo ""
  }
w | ~ |
z3bra
(15-12-2018, 03:26 PM)thuban Wrote: +1 for synthing.

For family or rookies, I use framadrop.org or https://transfer.sh/

I didn't know transfer.sh finally managed to stay up. That's a good news!
Sharing files has always been a puzzle to me... There are so many ways to do it, yet there is no "easy" solution that works for all use cases!

I use http://p.iotek.org for ephemeral shares (screenshots, piece of code, tiny tarballs, ...). For anything long-term that's public, I tend to put it on my website, though it's far from ideal.
When it comes to data synchronisation between servers or for my own use, rsync is fine (especially 'cause I have it on my phone as well!). I wrote a wrapper to sync files between multiple nodes.
Syncthing is nice, but has trouble keeping up with lots of data. It also has bugs, so I'd rather not corrupt any data with it. I also find it too complex to use, for the simple thing it is supposed to do.

For sharing data "privately" (eg. family pictures or whatever), I have setup an FTP server. It is definitely not ideal though, for multiple reason.
First of them being that it's not encrypted (though I'm working on that, I just need to sort my shit when it comes to certificates).
Second is that lambda people can't use a computer, and have troubles making connections to an FTP from their computer without assistance.
Third is that FTP is not good for "online" viewing, for example to go through pics of your latest travel with your familly.
Finally, my server currently runs alpine, which lacks some PAM modules to correctly implement virtual users with vsftpd. That is only contextual though, and I plan to wipe this install clean and run an OpenBSD node instead.

It kills me that, so close to 2019, it is still so complex to have someone share a bunch of big files with you...




Members  |  Stats  |  Night Mode