-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmediacrush.1.txt
83 lines (61 loc) · 2.03 KB
/
mediacrush.1.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/////
vim:set ts=4 sw=4 tw=82 noet:
/////
mediacrush (1)
==============
Name
----
mediacrush - Upload media files to https://mediacru.sh
Synopsis
--------
'mediacrush' [options] [files...]
Description
-----------
MediaCrush is a media hosting service that can host images, audio, and
video files on the web. The utility of the same name can upload files
to MediaCrush from a shell.
Options
-------
*-a, \--album*::
Create an album from the uploaded files.
*\--dry-run*::
Does not actually upload files, but instead displays the URLs they would be
assigned after upload.
*-h*::
Display help message and exit.
*\--open*::
Opens the uploaded images (or the album, if -a is specified) in the browser
after the upload has completed
*-r, \--recursive*::
When given a directory as a file, the default behavior is to upload all files
in that directory. When -r is specified, all files and all files in each
subfolder (recursively) will be uploaded instead.
*\--interactive*::
Forces interactive mode (pretty output).
*\--non-interactive*::
Forces non-interactive mode (link only).
*-s, \--server* <server>::
Specifies an alternate MediaCrush server. (Default: https://mediacru.sh)
*-c, \--copy*::
Sends URL of last selection or album (if -a is specified) to clipboard.
This requires xsel or xclip to be installed, otherwise -c is ignored.
*\--version*::
Output version information and exit.
Examples
--------
mediacrush picture1.png picture2.png::
Uploads the two pictures to MediaCrush and prints their URLs to
stdout.
mediacrush picture1.png http://example.com/picture2.png::
Uploads a picture on local disk and a picture on a remote server
to MediaCrush and prints their URLs to stdout.
mediacrush -s https://example.com picture1.png picture2.png::
Uploads the same pictures to a MediaCrush-compatible endpoint on
https://example.com.
mediacrush -a *.{png,jpg}::
Creates an album of all image files in the working directory.
Authors
-------
Current maintainers:
* Jerome Leclanche <[email protected]>
* Drew DeVault <[email protected]>