Comments (3)
@dnaf It's now possible to pipe with stdin/stdout.
You can send with stdin using:
echo "hello, world" | croc --send stdin --code 1-my-secret-code
And receive through stdout using:
croc --stdout --yes --code 1-my-secret-code > out
The --yes
is not necessary, but it is useful because otherwise you'll be prompted about whether you want to save the file. Also if you don't include the code you'll have to enter the prompt for that too.
from croc.
Couldn't we tease if there is data being sent via stdin and omit the --send stdin
?
from croc.
@sabhiram I didn't think about that - there is a way!
Fixed now with 1c05c35. Syntax is now:
echo "hello, world" | croc --code 1-my-secret-code
And receive through stdout using:
croc --stdout --yes --code 1-my-secret-code > out
from croc.
Related Issues (20)
- Waiting for a room HOT 2
- Firefly, the easiest WireGuard VPN server
- Send/Receive --local fails, firewall issue? HOT 2
- Version 9.6.16 reports 9.6.15 as version HOT 2
- Claims an Exported Variable is Required to Receive Data HOT 3
- V10 can't secure channel error HOT 15
- fix: improve ux around linux environmental variables
- Extend "--transfers" flag to relay in addition to send HOT 1
- Folders and Chinese name files cannot be transferred
- winget integration now requires Microsoft CLA HOT 5
- curl command no longer works HOT 4
- create flag with warning to enable classic mode for passing shared secret
- show hash progress on large files
- files with filenames containing [] or () can no longer be sent HOT 1
- croc truncates files when asked not to overwrite HOT 10
- --yes option does not work as expected HOT 1
- --throttleupload option has no effect HOT 9
- croc --help hangs with broken dns
- Is there support for calling as a Go package or any plans to support it? HOT 1
- Sender still waiting if receiver wrote the correct channel but the incorrect code HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from croc.