I 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.
Transfer.sh – File sharing from the command line
81–90 of 117 posts
Re: Transfer.sh – File sharing from the command line
#82Re: Transfer.sh – File sharing from the command line
#83I 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.
On the receiving end:
nc -vll 0.0.0.0 12345 | pv | tar xv
On the sending end: tar cv files... | pv | nc -N "destination IP" 12345
pv is a nice tool that just reports on the rate and number of bytes moving through the pipe, optional if you don't have it. Throw in gpg --symmetric + gpg --decrypt for good measure if you want to encrypt it on the wire with a password.Re: Transfer.sh – File sharing from the command line
#84Can it have a little more security please? E.g. longer filename, more difficult to guess. And an encryption option would be nice.
Well it seems you'd have to not only guess the file name, but also the 5 character code; as it appears its uppercase, lower and numbers, which is ~916 million possibilities ...although on second thought, and with some bad math, if you know the file name, and you can manage 750+ tries a second, you could brute it prior to the 14 day expiration.
Re: Transfer.sh – File sharing from the command line
#85Earlier quoted context omitted.
reminds me of this gem https://news.ycombinator.com/item?id=9224
2007. Wow. That's a lot in Internet time.
Re: Transfer.sh – File sharing from the command line
#86Earlier quoted context omitted.
Or rsync? rsync -zvh file.txt user@host:/dest/dir/ So many ways to do this :)
rsync has always been my favourite because it makes the most sense to me (and the --help/man page is easy to read). rsync -n -avh --progress source destination:~/asdf/ for a dry run followed by ctrl-p, ctrl-a, alt-f, alt-d, alt-d to remove the -n flag and then execute that for the real thing. Occasionally though, I'll also use sftp if I'm just pulling one thing - perhaps even after sshing to the remote machine. For a…
Re: Transfer.sh – File sharing from the command line
#87Re: Transfer.sh – File sharing from the command line
#88I 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
#89(The site still exists, but they never replied to my e-mail to their signup address, so I can't say for sure if they're still live or not.)
I wish transfer.sh good luck, and will bookmark them for now as "the new chunk.io".
EDIT: note, as not all comments comparing this to SSH seem to have picked it up - this is a service where you can upload a file, get a link and e-mail the link to someone. You don't need to have any special software (such as sshd) running on the download side.
Re: Transfer.sh – File sharing from the command line
#90I 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.
I use netcat a lot with my friends, we don't even have to do the SSH dance. On the receiving end: nc -vll 0.0.0.0 12345 | pv | tar xv On the sending end: tar cv files... | pv | nc -N "destination IP" 12345 pv is a nice tool that just reports on the rate and number of bytes moving through the pipe, optional if you don't have it. Throw in gpg --symmetric + gpg --decrypt for good measure if you want to encrypt it on the…