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.2

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.2
File Size Uploaded
metatask-1.0.2.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for metatask 1.0.2
File Interpreter ABI Platform
metatask-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 18.8 kB

Release files / metatask-1.0.2.tar.gz

Download URL metatask-1.0.2.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5a20ea558c04a1b1374c60d69bb9c06acaf2e9b6513c1598cd9d19cb477a7540
BLAKE2b-256 checksum
How to use checksums
3f3bd8cc3db2bf8fce6da4dcfdc06581658fecaadf4b33673b05e3f3de7fc427
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / metatask-1.0.2-py3-none-any.whl

Download URL metatask-1.0.2-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c23072347e6f8626a9a4a369e13aa92ccb21dcbe29e87a23f7755a694952a96
BLAKE2b-256 checksum
How to use checksums
cde83f641a79158815baa82d225ebb6d1bc08aa09ebf7c17e0a1d25523e0dc06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

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