Age | Commit message (Collapse) | Author | Files | Lines |
|
These will come in handy once -t supports bundling downloaded files (URL
as an argument instead of a file).
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If the upload failed and the user supplied multiple URLs, we will find
those on the next run and try to upload them again.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
"-t" expands to $TMPDIR (or /tmp if unset), which means, the user can
override in which directory temporary files are created.
This works with GNU mktemp (although GNU deprecated -t) as well as BSD
mktemp (does not replace X by random characters but rather appends them;
this does not matter much) and busybox mktemp (which requires the number
of X's to be exactly 6)
|
|
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
This reverts commit df54bdd9eeb043265a1446f8242037c983047cb0.
The way this was implemented is pretty limited so it's better if the
user runs gpg manually.
Conflicts:
fb.in
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
If $URL is not a URL the upload failed for some reason, so it should not
be added to the history.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
fb-upload is now called fb-helper which supports downloading and uploading
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
If these switches are present and there are no arguments the program
should exit and not try to upload stdin.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Try to extract the ID from URLs like http://paste.xinu.at/1234/
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
-ct works and compresses the created tarball so -t should be listed
under options.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
|
|
This no longer displays (git) errors if you use the release tarball.
It also adds a make target for fb in order to get rid of the git
checking inside fb.
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|