Forrest logo
back to the croc tool

croc:tldr:709d1

croc: Send a file or directory with a specific passphrase.
$ croc send --code ${passphrase} ${filename_or_directory}
try on your machine

The command "croc send --code ${passphrase} ${filename_or_directory}" is used to send a file or directory securely and directly to another person using the Croc file transfer utility.

Here's a breakdown of the command:

  • "croc send": This is the main command for sending files using Croc.
  • "--code ${passphrase}": It specifies the security code or passphrase that will be required to initiate the file transfer. The ${passphrase} is a placeholder that should be replaced with the actual passphrase you want to use.
  • "${filename_or_directory}": This is the file or directory you want to send. You need to specify the name or the path of the file or directory you want to transfer. This should also be replaced with the actual file or directory you want to send.

When you execute this command, Croc will generate a unique code based on the passphrase provided. This code needs to be shared with the recipient of the file transfer. Once the recipient has the code, they can use it to receive the file securely using their own Croc client.

It's worth noting that both the sender and recipient need to have the Croc utility installed on their respective systems in order to successfully transfer files.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the croc tool