Is there a way to copy local files with curl, I need it to work as an alternative for cp command.
This is a bit strange, but I'm working on an environment where cp is not available.
You could say:
curl -o /path/to/destination file:///path/to/source/file
This would copy /path/to/source/file
to /path/to/destination
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With