Earlier quoted context omitted.
Could you please go into details like what's basic difference b/w static binaries and apps which use dynamic linking. What are the benefits of one over another? Something like grokking this concept for once and all :D
Pros: * single binary that you can scp (or use transfer.sh haha) into the production machine and run; no runtime environments, package installation etc. * two different applications can depend on different versions of a library without any intermediate package manager or virtual environment * guaranteed execution: related to the first point, but I see enough merit in this to make it a separate point Cons: * If there'…
Transfer.sh – File sharing from the command line
71–80 of 117 posts
Re: Transfer.sh – File sharing from the command line
#72They really should’ve used some end to end encryption to protect themselves against DMCA bullshit. As it stands they will be abused for copyright infringement and the rights holders will not only ask for the files to be taken down, but for them to preemptively prevent those same files from being uploaded again. A huge rabbit hole full of bullshit.
If I'm not confusing matters, in the past people might have sent files to each other by dropping stuff off in an ftp directory, or they might have used DirectConnect to host files up, or even Windows file sharing / samba.
If it were designed to be used within a local network on the other hand between untrusted users, it might make more sense but I think there would then also be simpler ways to go about that?
Re: Transfer.sh – File sharing from the command line
#73Can it have a little more security please? E.g. longer filename, more difficult to guess. And an encryption option would be nice.
Re: Transfer.sh – File sharing from the command line
#74I like it! But for me ssh already provides a simple and secure way to move files from one place or another.. tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" Given that ssh it so ubiquitous I think this will always be my go to.
> ssh already provides a simple way :-D > tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" :-O
Re: Transfer.sh – File sharing from the command line
#75I like it! But for me ssh already provides a simple and secure way to move files from one place or another.. tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" Given that ssh it so ubiquitous I think this will always be my go to.
What about good old scp? scp file.txt user@host:/dest/dir/
Re: Transfer.sh – File sharing from the command line
#76I like it! But for me ssh already provides a simple and secure way to move files from one place or another.. tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" Given that ssh it so ubiquitous I think this will always be my go to.
This particular tool seems useful for sharing files with people who might not be comfortable with the command-line, or where you don't have an account on the receiver's computer, since it produces a regular http link to download the data.
Re: Transfer.sh – File sharing from the command line
#77Earlier quoted context omitted.
> tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" You should use '&&' instead of ';' on the host side. That way you don't accidentally dump your transfer contents into a wrong directory if the existing host dir doesn't exist. e.g.: tar cf - stuff | ssh host "(cd /dest/dir && tar xf -)"
Or just skip the shell entirely: tar -C /dest/dir -xf -
Re: Transfer.sh – File sharing from the command line
#78I like it! But for me ssh already provides a simple and secure way to move files from one place or another.. tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" Given that ssh it so ubiquitous I think this will always be my go to.
> tar -cf - ./files.txt ./orDir/ | ssh host "(cd /dest/dir; tar -xf -)" You should use '&&' instead of ';' on the host side. That way you don't accidentally dump your transfer contents into a wrong directory if the existing host dir doesn't exist. e.g.: tar cf - stuff | ssh host "(cd /dest/dir && tar xf -)"
Re: Transfer.sh – File sharing from the command line
#79Earlier quoted context omitted.
What about good old scp? scp file.txt user@host:/dest/dir/
I usually go straight to tar & ssh over scp since you can do directories where you can't with scp. But yeah, if you just have some files scp works.
Re: Transfer.sh – File sharing from the command line
#80What about deleting? If you accidentally upload your porn folder and notice it just after sharing the link with someone.