Skip to main content
# Meta Task

Tools that support:
- Runs commands on a set of files
- Multi process the for fast run
- Read metadata from the file with exiftool
- Use metadata in rename or command
- Set metadata on the file
- Support jinja template
- Rename or move the file

Config file `<Standard config path>/metatask.yaml`, `~/.config/metatask.yaml` on Linux

Syntax:
```yaml
nb_process: <number of concurent process>

ignore_dir: <list of directory regexpto be ignored>

task:
<name>:
display: <text>
source-mime: <mime type>
merge: <True|False, use to combine files, defaut is False>
keep: <True|False, uset to keep the source file, default is False>
commands: [<list of commands or command names>]

cmds:
<name>:
display: <text>
metadata: True # => get some metadata with `exiftool` and can be used with python format syntax
...
<name>:
display: <text>
cmd: <the command with {in} and {out} (if not inplace)>
out_ext: <the output extension (optional)>
inplace: <True|False default is False>
<name>:
display: <text>
type: rename
from: <regexp>
to: <pattern with \1, ...>
<name>:
display: <text>
type: rename
do:
- from: <regexp>
to: <pattern with \1, ...>
<name>:
display: <text>
type: rename
from: <regexp>
format: <lower|higher>
<name>:
display: <text>
type: metadata
name: <metadata name>
value_get: <regexp used on filename>
value_format: <pattern with \1, ...>
```

Metadata

Release files for metatask 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for metatask 1.0.1
File Size Uploaded
metatask-1.0.1.tar.gz 7.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metatask 1.0.1
File Interpreter ABI Platform
metatask-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 17.9 kB

Release files / metatask-1.0.1.tar.gz

Download URL metatask-1.0.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
29092e2b8bc68187483e86d62d758254763659584be632145ea8fa9dc097e185
BLAKE2b-256 checksum
How to use checksums
bba4f34c16f4ced7fc4339302ac8db480261d1b390bf6583c47585b2f68c9442
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / metatask-1.0.1-py2-none-any.whl

Download URL metatask-1.0.1-py2-none-any.whl
Size 10.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
d9594cb20ae622a5c70c31ba12efee47a3d393f1061c30658510d10f47dd0240
BLAKE2b-256 checksum
How to use checksums
4e279df5aac7d027062092a2ea9f3779dc8c800c14cb6f3b73fd892c9fba06d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

1.0.2

2 release files

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page