---
name: "yencode"
section: "1"
platform: "linux"
package: "yencode"
version: "0.46-1"
release: "Debian 3.1 (Sarge)"
platforms: ["linux"]
url: "https://new.carta.tech/yencode"
---

# yencode(1)

Usenet file encoder

## NAME

yencode - Usenet file encoder

## SYNOPSIS

**yencode** \[**-d**, **--debug**\] \[**-e**, **--extension=***ext*\] \[**-f**, **--force**\] \[**-l**, **--line=***length*\] \[**-m**, **--multipart=***size*\] \[**-o**, **--output=***dir*\] \[**-p**, **--paths**\] \[**-q**, **--quiet**\] \[**--sfv=***name*\] \[**--crc=***name*\] \[**--help**\] \[**--version**\] **FILE** **...**

## DESCRIPTION

**yencode** encodes the files specified on the command line according to the yEnc Usenet encoding format.

## OPTIONS

- **-d**, **--debug**

  Write messages useful for debugging to stderr while program is operating.

- **-e**, **--extension**=*ext*

  Use *ext* as the file extension for encoded files, instead of *ync*, which is the default.

- **-f**, **--force**

  If the output file already exists, overwrite the existing file without prompting.

- **-l**, **--line**=*length*

  Create encoded lines of *length* characters, instead of 128, which is the default.

- **-m**, **--multipart**=*size*

  Create multipart output, with each file containing *size* bytes of data.  *size* may be specified in bytes, or in a human-friendly format such as *200k* or *2M*.  If **-m** is specified without a size, each part defaults to 620k.

- **-o**, **--output**=*dir*

  Create output in *dir* instead of the current directory.

- **-p**, **--paths**

  Save relative pathnames to files in the encoded data.  For example, running **yencode files/new/bigfile.mp3** will by default save the filename as **bigfile.mp3**.  If the **-p** option is specified, the filename will be saved as **files/new/bigfile.mp3**.

- **-q**, **--quiet**

  Try to avoid writing output while running.  The only output that will occur is error messages.

- **--sfv**=*name*

  Create a yencoded SFV file containing the checksum of each input file.  If *name* is specified, then that name will be used as a prefix for the SFV file.

- **--crc**=*name*

  Create a yencoded CRC file containing the checksum of each input file.  If *name* is specified, then that name will be used as a prefix for the CRC file.  Note that this CRC file may or may not comply with the "standard" for what a  **.crc** file is supposed to contain.

- **--help**

  Display program help and exit.

- **--version**

  Output version number and exit.

## AUTHOR

Don Moore \<bboy@bboy.net\>

## HOMEPAGE

http://www.yencode.org/

## SEE ALSO

[**ydecode**(1)](/ydecode/1.md), [**ypost**(1)](/ypost/1.md)
