dcut(1)

NAME

dcut - Debian archive .commands file upload tool

SYNTAX

dcut [options] [host] [command [, command]]

dcut -U filename [host]

DESCRIPTION

dcut creates and / or uploads .commands files for the Debian FTP archive upload queue. It is a companion for dput and uses dput configuration files. As with dput, you can specify a host defined in the dput configuration file. In case your host is funnily named, i.e. it could mistaken for a command, you may also use a command line option to specify the host. In default operation mode (unless you request to upload an existing file), the host description is followed by a commaseperated list of commands. (Semicolons also work but require shell escaping.)

COMMANDS

Presently supported commands are mv and rm. Both have the usual syntax but will accept neither options nor file names containing slashes. Specifically, wild cards are allowed. (The only documentation the author is aware of is "http://ftp.up.ac.za/debian/UploadQueue/README".)

The options try to resemble dput's to the extent possible.

Note that dcut calls gpg to sign any commands file generated.

OPTIONS

-c filename, --config=filename
Use config file filename.
-d, --debug
Print debug messages.
-h, --help
Print help information and exit.
--host=host
Upload to host (as found in the dput configuration). Use this if your host is named like one of the commands.
-m maintainer, --maintainer=maintainer
Use maintainer for the uploader field and gpg key selection. This has no effect when --upload is used.
-k keyid, --keyid=keyid
Use keyid for signing. Default is to let debsign choose a keyid. This has no effect when --upload is used.
-O filename, --output=filename
Write commands file to filename instead of uploading. You sould not specify a host when using this option. Also, this option should not be used with --upload. Both filename and filename.asc will be overwritten.
-P, --passive
Use passive ftp instead of active.
-s, --simulate
Simulate an upload only.
-U filename, --upload=filename
Upload commands file. Note: No checks (syntax or presence/validity of signature) are currently performed.
-v, --version
Print version information and exit.

ENVIRONMENT

The program uses the environment variables DEBEMAIL and DEBFULLNAME to populate the uploader field. Also, environment variables may be used in search of a suitable place for temporary files.

LICENSE

This program is distributed under the terms of the Gnu General Public License, Version 2 or later.

BUGS

Please direct bug reports and comments to the author. Your feedback is appreciated. If you're using Debian packages, file bugs against the dput package.

FILES

dcut makes use of the dput configuration files:

/etc/dput.cf
System dput configuration file.
~/.dput.cf
User dput configuration file.

AUTHOR

Thomas Viehmann <tv@beamnet.de>

Much helpful input and some stolen code from dput author Christian Kurz.

SEE ALSO

dput(1), dput.cf(5)
http://ftp.up.ac.za/debian/UploadQueue/README
Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout