---
name: "truc"
section: "1"
platform: "linux"
package: "truc"
version: "1.0.7-5"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/truc"
---

# truc(1)

transfer big files through e-mail

## NAME

truc - transfer big files through e-mail

## SYNOPSIS

**truc** \[-h\] \[-t val\] \[-l val\] \[\[-p ext\]...\] \[-report\] \[-r e-mail\] \[-m\] \[-n\] \[-v\] \[-d\] \[-q\] \[-z\] \[-bz\] \[-bz2\] \[-x\] e-mail\[,...\] \<file\|dir\>

## DESCRIPTION

truc & untruc are two shell scripts that allow you to transfer big files through e-mail. They are using classical commands such as uuencode, tar, compress, csplit, etc. The word 'truc' (French) means: "Transfert Rapide Uuencode' Compresse'".

This document applies to truc 1.0.7

## COMMAND LINE OPTIONS

Both truc and untruc support some command line options. For detailed description on untruc, view [untruc(1)](/untruc/1.md).

*Options to \`truc'*

- **-h**

  Display the help

- **-t *val***

  Sleep *val* seconds between each packet sent (default=30)

- **-l *val***

  *val* is the maximum number of lines for a packet (default 1500 lines, this is about 90 Kb per packet)

- **-k *val***

  *val* is the maximum size of a packet in Kb (default 90 Kb)

- **-p *val***

  Will mail only the specified packet (1, 2, 3, etc.) you can have more than one -p option in the command line. Warning: This option is not working when sending directories.

- **-report**

  Will mail a report (default=no report mailed)

- **-r *e-mail***

  Will mail a receipt to *e-mail* upon 'untruc' completion.

- **-m**

  Will prompt the user for a mail to be sent with the packages

- **-n**

  Seems to do all the job BUT doesn't send anything

- **-v**

  Turn on verbose mode

- **-d**

  Turn on debug mode

- **-q**

  Send will be totally quiet (no message displayed)

- **-z**

  Force the use of compress instead of gzip

- **-bz**

  Force the use of bzip as compressor

- **-bz2**

  Force the use of bzip2 as compressor

- **-x**

  Upon reception, contents will be extracted as far as possible.

- **e-mail**

  E-mail address were you want to mail your file or directory. You can provide more than one address if you separate them by a comma

- **file\|dir**

  Name of the file or directory you want to send

## AUTHOR

Remco van de Meent \<remco@debian.org\> (this manual page for Debian GNU/Linux - original text from David Segonds)
