receive(1)

receive1

Receive files from the sendfile spool

Usage

receive [-d] [-r] [-k] [-P] [-S] [-Z spool] [-q] [-ffrom] file []

receive -n [-d] [-r] [-k] [-P] [-S] [-Z spool] [-q] file-number []

receive [-s] [-l] [-L] [-R] [-ffrom]

receive -b user [@host] [-k] [-f"from"] file []

receive -b user [@host] [-k] [-f"from"] -n file-number []

receive -b user [@host] [-k] -a

Overview

receive files from the sendfile spool which has been sent to you.

If there is already a file with the same name you will be prompted for overwriting or renaming.

Allowed wildcards in file names are: * ? [abc] [^abc]
CAUTION: you have to put wildcards and other special characters in ´´ quotes to hide them for interpretation by your shell.

Options

-n

receive file number(s)

-d

delete instead of receive

-a

receive (or delete or bounce) all files

-r

rename before receiving

-k

keep files in spool after receiving

-P

pipe files to stdout

-S

receive only pgp-signed files

-s

list files in short format

-l

list files

-L

list files and look inside archives, too

-R

renumber files in spool

-b

bounce (forward) files to another recipient

-q

quiet mode: no questions asked

-fuser

all actions refer only to files from this user

-Z spool

specify an alternate spool directory

Examples

receive -L
list all files in long format.

receive 'blubb*'
receive all files starting with string "blubb".

receive -daf microsoft.com
delete all files from microsoft.com sites.

receive -b framstag@bofh '*.jpg'
bounce all *.jpg-files to framstag@bofh.

Files

/var/spool/sendfile

The sendfile spool directory.

/var/spool/sendfile/$USER/log

A log of the last transfers.

/etc/sendfile.deny

Users which are not allowed to receive files or messages (set by root).

Releases

16 releases since Debian 1.2 (Rex); the text changed 6 times.

  1. 1.2–1.3
  2. 2.0–2.1
  3. 2.2
  4. 3.0–3.1
  5. 4.0
  6. 5.0
  7. 6.0–12

-P since Debian 2.0 (Hamm); -R since Debian 2.2 (Potato); -S since Debian 2.0 (Hamm); -Z since Debian 2.0 (Hamm); -f since Debian 2.0 (Hamm); -k since Debian 2.0 (Hamm).

Author

Ulli Horlacher - [email protected]

From sendfile 2.1b.20080616-10 in Debian 12 (Bookworm). Parsed by carta from the page's man source.