|
1 |
| -# media-cli.js |
2 |
| - |
3 |
| -MediaCli, Photo,Video,Audio and ExifTool Utilities. |
4 |
| - |
5 |
| -created at 2021.07 |
6 |
| - |
7 |
| -## Installation |
8 |
| - |
9 |
| -``` |
10 |
| -npm install mediac -g |
11 |
| -``` |
12 |
| - |
13 |
| -## Usage |
14 |
| - |
15 |
| -``` |
16 |
| -mediac --help |
17 |
| -``` |
18 |
| - |
19 |
| -## Command Line |
20 |
| - |
21 |
| -``` |
22 |
| -Usage: media_cli.js <command> <input> [options] |
23 |
| -
|
24 |
| -Commands: |
25 |
| - media_cli.js rename <input> [options] Rename media files in input dir by exif |
26 |
| - date [default] [aliases: rn] |
27 |
| - media_cli.js organize <input> Organize pictures by file modified date |
28 |
| - [aliases: oz] |
29 |
| - media_cli.js lrmove <input> Move JPEG output of RAW files to other |
30 |
| - folder [aliases: lv] |
31 |
| -
|
32 |
| -Positionals: |
33 |
| - input Input folder that contains files [string] |
34 |
| -
|
35 |
| -Options: |
36 |
| - --version Show version number [boolean] |
37 |
| - -h, --help Show help [boolean] |
38 |
| - -b, --backup [boolean] [default: false] |
39 |
| - -p, --prefix [string] [default: "IMG_/DSC_/VID_"] |
40 |
| - -s, --suffix [string] [default: ""] |
41 |
| - -t, --template [string] [default: "YYYYMMDD_HHmmss"] |
42 |
| -
|
43 |
| -Media Utilities: Rename Image/Raw/Video files by EXIF date tags |
44 |
| -
|
45 |
| -``` |
46 |
| - |
47 |
| - |
48 |
| -## License |
49 |
| - |
50 |
| - |
51 |
| - |
52 |
| - Licensed under the Apache License, Version 2.0 (the "License"); |
53 |
| - you may not use this file except in compliance with the License. |
54 |
| - You may obtain a copy of the License at |
55 |
| - |
56 |
| - http://www.apache.org/licenses/LICENSE-2.0 |
57 |
| - |
58 |
| - Unless required by applicable law or agreed to in writing, software |
59 |
| - distributed under the License is distributed on an "AS IS" BASIS, |
60 |
| - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
61 |
| - See the License for the specific language governing permissions and |
62 |
| - limitations under the License. |
| 1 | +# media-cli.js |
| 2 | + |
| 3 | +MediaCli is a multimedia file processing tool that utilizes ffmpeg and exiftool, among others, to compress/convert/rename/delete/organize media files, including images, videos, and audio. |
| 4 | + |
| 5 | +created at 2021.07 |
| 6 | + |
| 7 | +## Installation |
| 8 | + |
| 9 | +``` |
| 10 | +npm install mediac -g |
| 11 | +``` |
| 12 | + |
| 13 | +## Usage |
| 14 | + |
| 15 | +``` |
| 16 | +mediac --help |
| 17 | +``` |
| 18 | + |
| 19 | +## Command Line |
| 20 | + |
| 21 | +``` |
| 22 | +Usage: media_cli.js <command> <input> [options] |
| 23 | +
|
| 24 | +Commands: |
| 25 | + media_cli.js test Test command, do nothing |
| 26 | + [default] [aliases: tt] |
| 27 | + media_cli.js dcimr <input> [options] Rename media files by exif metadata eg |
| 28 | + . date [aliases: dm, dcim] |
| 29 | + media_cli.js organize <input> [output] Organize pictures by file modified dat |
| 30 | + e [aliases: oz] |
| 31 | + media_cli.js lrmove <input> [output] Move JPEG output of RAW files to other |
| 32 | + folder [aliases: lv] |
| 33 | + media_cli.js thumbs <input> [output] Make thumbs for input images |
| 34 | + [aliases: tb] |
| 35 | + media_cli.js compress <input> [output] Compress input images to target size |
| 36 | + [aliases: cs, cps] |
| 37 | + media_cli.js remove <input> [output] Remove files by given size/width-heigh |
| 38 | + t/name-pattern/file-list |
| 39 | + [aliases: rm, rmf] |
| 40 | + media_cli.js moveup <input> [output] Move files to sub top folder or top fo |
| 41 | + lder [aliases: mu] |
| 42 | + media_cli.js prefix <input> [output] Rename files by append dir name or str |
| 43 | + ing [aliases: pf, px] |
| 44 | +
|
| 45 | +Positionals: |
| 46 | + input Input folder that contains files [string] |
| 47 | +
|
| 48 | +Options: |
| 49 | + --version Show version number [boolean] |
| 50 | + -h, --help Show help [boolean] |
| 51 | +
|
| 52 | +Media Cli: Image/Raw/Video filename processing utilities |
| 53 | +Copyright 2021-2025 @ Zhang Xiaoke |
| 54 | +
|
| 55 | +``` |
| 56 | + |
| 57 | +## License |
| 58 | + |
| 59 | + Copyright 2021-2025 [email protected] |
| 60 | + |
| 61 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 62 | + you may not use this file except in compliance with the License. |
| 63 | + You may obtain a copy of the License at |
| 64 | + |
| 65 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 66 | + |
| 67 | + Unless required by applicable law or agreed to in writing, software |
| 68 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 69 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 70 | + See the License for the specific language governing permissions and |
| 71 | + limitations under the License. |
0 commit comments