croc 10.1.3

croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following: allows any two computers to transfer data (using a relay) provides end-to-end encryption (using PAKE) enables easy cross-platform transfers (Windows, Linux, Mac) allows multiple file transfers allows resuming transfers that are interrupted local server or port-forwarding not needed ipv6-first with ipv4 fallback can use proxy, like tor

Tags file-transfer cli encryption tcp transfer peer-to-peer file-sharing data-transfer golang
License MITL
State stable

Recent Releases

10.1.308 Dec 2024 13:45 minor feature: lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v10.1.2...v10.1.3" gt; lt;tt gt;v10.1.2...v10.1.3 lt;/tt gt; lt;/a gt; lt;/p gt;.
10.1.104 Dec 2024 22:05 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;Mask password in logs by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gamagoat/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gamagoat" gt;@gamagoat lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2650766614" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//837" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/837/hovercard" href="https://github.com/schollz/croc/pull/837" gt;#837 lt;/a gt; lt;/li gt;. lt;li gt;docs: Add conda-forge install instructions for pixi and conda by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/matthewfeickert/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/matthewfeickert" gt;@matthewfeickert lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2656513134" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//843" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/843/hovercard" href="https://github.com/schollz/croc/pull/843" gt;#843 lt;/a gt; lt;/li gt;. lt;li gt;Add a qrcode flag by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ozoniuss/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ozoniuss" gt;@Ozoniuss lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2687634426" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//847" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/847/hovercard" href="https://github.com/schollz/croc/pull/847" gt;#847 lt;/a gt; lt;/li gt;. lt;/ul gt
10.1.029 Nov 2024 07:05 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;add option -multicast to change multicast address by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2565338423" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//818" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/818/hovercard" href="https://github.com/schollz/croc/pull/818" gt;#818 lt;/a gt; lt;/li gt;. lt;li gt;Added copy to clipboard functionality for windows,linux and mac by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/elliot40404/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/elliot40404" gt;@elliot40404 lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2568946149" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//822" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/822/hovercard" href="https://github.com/schollz/croc/pull/822" gt;#822 lt;/a gt; lt;/li gt;. lt;li gt;Improve clipboard copy by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/bitraid/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/bitraid" gt;@bitraid lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2582911618" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//824" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/824/hovercard" href="https://github.com/schollz/croc/pull/824" gt;#824 lt;/a gt; lt;/
10.0.1326 Nov 2024 01:25 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;Remove Temporary Files if the program terminates abnormal by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Prince-Bhagat/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Prince-Bhagat" gt;@Prince-Bhagat lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2503004353" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//800" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/800/hovercard" href="https://github.com/schollz/croc/pull/800" gt;#800 lt;/a gt; lt;/li gt;. lt;li gt;Schollz/by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2503304800" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//801" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/801/hovercard" href="https://github.com/schollz/croc/pull/801" gt;#801 lt;/a gt; lt;/li gt;. lt;li gt;build(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2507080821" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//803" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/803/hovercard" href="https://github.com/schollz/croc/pull/803" gt;#803 lt;/a
10.0.1202 Sep 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;Show recommended croc commands for both Windows and Linux/OSX by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nhtzr/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nhtzr" gt;@nhtzr lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2471314111" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//785" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/785/hovercard" href="https://github.com/schollz/croc/pull/785" gt;#785 lt;/a gt; lt;/li gt;. lt;li gt;feature: gracefully exit when not enough disk space by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2496260045" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//792" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/792/hovercard" href="https://github.com/schollz/croc/pull/792" gt;#792 lt;/a gt; lt;/li gt;. lt;li gt;build(deps): bump github.com/kalafut/imohash from 1.0.4 to 1.1.0 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2491489729" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//789" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/789/hovercard" href="https://github.com/schol
10.0.1131 Jul 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;Refactor tcp by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Ozoniuss/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Ozoniuss" gt;@Ozoniuss lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2388638544" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//749" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/749/hovercard" href="https://github.com/schollz/croc/pull/749" gt;#749 lt;/a gt; lt;/li gt;. lt;li gt;Add receiving on Linux and classic mode to README by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clemisch/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clemisch" gt;@clemisch lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2397157742" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//753" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/753/hovercard" href="https://github.com/schollz/croc/pull/753" gt;#753 lt;/a gt; lt;/li gt;. lt;li gt;croc --classic Yes/no prompt default is backwards by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2430303075" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//761" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/761/hovercard" href="https://github.com/schollz/croc/pull/761" gt;#761 lt;/a gt; lt;/li gt;. lt;li gt;define relay
10.0.1008 Jul 2024 09:05 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;: Sending folders from the root of a drive always goes to the same path on the receiver's end by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2390804360" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//750" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/750/hovercard" href="https://github.com/schollz/croc/pull/750" gt;#750 lt;/a gt; lt;/li gt;. lt;li gt;build(deps): bump github.com/minio/highwayhash from 1.0.2 to 1.0.3 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2392171056" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//751" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/751/hovercard" href="https://github.com/schollz/croc/pull/751" gt;#751 lt;/a gt; lt;/li gt;. lt;/ul gt;. lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v10.0.9...v10.0.10" gt; lt;tt gt;v10.0.9...v10.0.10 lt;/tt gt; lt;/a gt; lt;/p gt;.
10.0.927 Jun 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;build(deps): bump github.com/schollz/progressbar/v3 from 3.14.3 to 3.14.4 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2343216760" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//734" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/734/hovercard" href="https://github.com/schollz/croc/pull/734" gt;#734 lt;/a gt; lt;/li gt;. lt;li gt;: croc hangs with broken dns by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2351444824" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//737" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/737/hovercard" href="https://github.com/schollz/croc/pull/737" gt;#737 lt;/a gt; lt;/li gt;. lt;li gt;build(deps): bump docker/build-push-action from 5 to 6 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2359341703" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//740" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/740/hovercard" href="https://github.com/scho
10.0.807 Jun 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;Update cli.go (help output clarification) by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/raimocom/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/raimocom" gt;@raimocom lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2337098075" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//731" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/731/hovercard" href="https://github.com/schollz/croc/pull/731" gt;#731 lt;/a gt; lt;/li gt;. lt;li gt;Update croc.go - console output clarification by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/raimocom/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/raimocom" gt;@raimocom lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2337131218" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//732" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/732/hovercard" href="https://github.com/schollz/croc/pull/732" gt;#732 lt;/a gt; lt;/li gt;. lt;li gt;build(deps): bump golang.org/x/net from 0.25.0 to 0.26.0 by lt;a class="user-mention notranslate" data-hovercard-type="organization" data-hovercard-url="/orgs/dependabot/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dependabot" gt;@dependabot lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2335277658" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//728" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/728/hovercard" href="https://github.com/schollz/croc/pull/728" gt;#
10.0.702 Jun 2024 06:45 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;: receiver needs to exit without initializing files if no files being transfered by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2328404140" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//724" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/724/hovercard" href="https://github.com/schollz/croc/pull/724" gt;#724 lt;/a gt; lt;/li gt;. lt;/ul gt;. lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v10.0.6...v10.0.7" gt; lt;tt gt;v10.0.6...v10.0.7 lt;/tt gt; lt;/a gt; lt;/p gt;.
10.0.629 May 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;show hash progress on large files by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2322064202" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//721" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/721/hovercard" href="https://github.com/schollz/croc/pull/721" gt;#721 lt;/a gt; lt;/li gt;. lt;/ul gt;. lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v10.0.5...v10.0.6" gt; lt;tt gt;v10.0.5...v10.0.6 lt;/tt gt; lt;/a gt; lt;/p gt;.
10.0.325 May 2024 06:45 minor feature: lt;ul gt;. lt;li gt;room finding lt;/li gt;. lt;/ul gt;. lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v10.0.2...v10.0.3" gt; lt;tt gt;v10.0.2...v10.0.3 lt;/tt gt; lt;/a gt; lt;/p gt;.
9.6.1721 May 2024 03:15 minor feature: lt;h2 gt;What's Changed lt;/h2 gt;. lt;ul gt;. lt;li gt;chore: improve efficiency and remove extraneous reads by lt;a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/schollz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/schollz" gt;@schollz lt;/a gt; in lt;a class="-link js--link" data-error-text="Failed to load title" data-id="2306454354" data-permission-text="Title is private" data-url="https://github.com/schollz/croc//702" data-hovercard-type="pull_request" data-hovercard-url="/schollz/croc/pull/702/hovercard" href="https://github.com/schollz/croc/pull/702" gt;#702 lt;/a gt; lt;/li gt;. lt;li gt;: correctly report version lt;/li gt;. lt;/ul gt;. lt;p gt; lt;strong gt;Full Changelog lt;/strong gt;: lt;a class="commit-link" href="https://github.com/schollz/croc/compare/v9.6.16...v9.6.17" gt; lt;tt gt;v9.6.16...v9.6.17 lt;/tt gt; lt;/a gt; lt;/p gt;.
9.6.1507 Apr 2024 01:11 minor bugfix: Update error message to be more verbose by @vihu in #682 Gracefully handle non existend receive config file by @a1lu in #685 Check HOME as last by @a1lu in #684 Support spaces in 4 word codes by @a1lu in #683 Avoid to create config dir if not required by @a1lu in #686 Bump golang.org/x/net from 0.22.0 to 0.23.0 by @dependabot in #687 Bump golang.org/x/crypto from 0.21.0 to 0.22.0 by @dependabot in #688
9.6.1412 Mar 2024 09:40 minor bugfix: What's Changed Fix Windows builds by @bitraid in #679 Bump github.com/stretchr/testify from 1.8.2 to 1.9.0 by @dependabot in #678 Bump softprops/action-gh-release from 1 to 2 by @dependabot in #680 New Contributors @bitraid made their first contribution in #679