diff options
author | Moritz Wilhelmy <moritz+git@wzff.de> | 2011-09-15 21:14:21 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2012-01-26 22:21:27 +0100 |
commit | 16558a6bbba2d76abdd43f94c65709128911609b (patch) | |
tree | 2752e8cee8bb25f5e20416d2928d5e9014fdd083 /fb.pod | |
parent | e2e50069d27c228814a3dab5288e7ad49cadbf9d (diff) |
first draft of a mdoc(7) manpage replacing the pod
Conflicts:
Makefile
fb.pod
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'fb.pod')
-rw-r--r-- | fb.pod | 82 |
1 files changed, 0 insertions, 82 deletions
@@ -1,82 +0,0 @@ -=head1 NAME - -C<fb> - a client for http://paste.xinu.at - -=head1 SYNOPSIS - -fb [switches] [options] [<file(s)|ID(s)|folder(s)>] - -=head1 DESCRIPTION - -C<fb> is a client to http://paste.xinu.at which allows the user to easily upload, -delete or download files. - -By default, files will be uploaded as-is and a link to the file will be printed -to stdout after each upload. At the end C<fb> will try to copy all links into the -X clipboard if xclip is installed. - -Folders will be tar'ed and the resulting upload.tar file will be uploaded. - -If no arguments are given, C<fb> will read data from stdin into a temporary file -that will be uploaded once EOF is received. - -If the file being uploaded is bigger than 10MB C<fb> will query the server for the -maximum upload size and abort the upload if the file would be rejected. - -If you want to be able to delete files, you have to add the following line to ~/.netrc - machine paste.xinu.at password <your_secret_password> - -=head1 SWITCHES - --d <ID(s)> - Delete the IDs. You can no longer upload files in this mode. - If the argument is a URL, C<fb> will try to extract the ID. - --g <ID(s)> - Download the IDs and output on stdout. Please take care when using this, - as binary data may cause unexpected results when being output directly - to a terminal. You can no longer upload files in this mode. - If the argument is a URL, C<fb> will try to extract the ID. - --h - Display a short help message. - --v - Display the client version. - - -=head1 OPTIONS - --e <extension> - Change the extension used for highlighting. You can also do this if you - have already uploaded the file by appending the extension to the URL. - http://paste.xinu.at/<ID>/bash will change the syntax highlighting to bash. - --t - Upload a tar file containing all files and directories specified on the - command line. - --c - Enable compression of the uploaded files. This affects all files including - piped content and folders. - - Specify this option once to use gzip or two times to use xz. - - If used in conjunction with the -g switch this decompresses the download - before it's output to stdout. - -=head1 EXAMPLES - -fb -tc <folder> <file> - This will create a .tar archive containing the folder and the file and compress - it using gzip and upload one archive. - -fb -c <folder> <file> - This will create a .tar archive containing only the folder. Both (folder and file) - will be compressed using gzip and uploaded independently. - -fb -cc <folder> - This will create a .tar archive containing only the folder and compress it using xz. - -make |& fb - This will upload the output of make (stdout and stderr). |