RECEIVE(1)

πŸ“¦ version 2.1b.20080616, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– RECEIVE πŸ’–

okay bestie, welcome to the receive manual page, from the General Commands Manual section 1 πŸŽ€ β€” this is the one that pulls files out of the sendfile spool, and I'm gonna walk you through every single flag like we're texting at 2am. no cap. πŸ¦‹


✨ NAME ✨

receive β€” receive files from the sendfile spool πŸ’…


✨ SYNOPSIS ✨

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

✨ DESCRIPTION ✨

so receive grabs files out of the sendfile spool β€” specifically the ones that got sent to you. like, they're yours, they've been waiting, it's giving "your package arrived" energy πŸ“¦βœ¨

if there's already a file with the same name sitting there, the tool is gonna ask you β€” do you wanna overwrite it, or rename it? your call, main character πŸ’…

wildcards you're allowed to use in file names are:

  • *
  • ?
  • [abc]
  • [^abc]
⚠️ CAUTION: bestie listen β€” you have to put wildcards and other special characters in ´´ quotes to hide them from interpretation by your shell. fr fr, if you don't, your shell will eat them before receive even sees them and everything is chaos 😭

✨ OPTIONS ✨

  • -n β€” receive file number(s) πŸ”’
  • -d β€” delete instead of receive πŸ—‘οΈ (yes, you can just delete, iconic)
  • -a β€” receive (or delete or bounce) all files πŸ‘‘
  • -r β€” rename before receiving ✏️
  • -k β€” keep files in spool after receiving πŸ™ˆ (they stay put, no theft)
  • -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). 🚫

✨ SEE ALSO ✨


✨ AUTHOR ✨

Ulli Horlacher β€” framstag@rus.uni-stuttgart.de 🫢


and that's the whole page, bestie! this one came from the 3rd Berkeley Distribution, and yeah it's the RECEIVE(1) manual β€” so you know it's legit. go receive those files, you absolute icon πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from