Skip to main content

Edit git-annex metadata in your $EDITOR

Project description

📝 git-annex-metadata-edit

Edit git-annex metadata with your $EDITOR.

📥 Installation

# From Gitlab
pip install git+https://gitlab.com/nobodyinperson/git-annex-metadata-edit

✨ Features

  • Frontend to git annex metadata --set/--remove
  • (recursively) overwrite a field with a value
  • add and remove single-line values in one go for multiple files (also recursively)

❓ Usage

# 📟 From the Temrminal
git-annex-metadata-edit FIELDNAME ...FILES...
# or 
git annex-metadata-edit FIELDNAME ...FILES...
# or
git annex metadata-edit FIELDNAME ...FILES...
# or 
python -m git_annex_metadata_edit FIELDNAME ...FILES...

# 🤨 dry-run (check what it would do if you don't trust it)
git-annex-metadata-edit --dry-run FIELDNAME ...FILES...

# ❓ Help
git-annex-metadata-edit -h

git-annex-metadata-edit first tries your $VISUAL, then $EDITOR, then a list of common editors.

📟 Screencast 📹

asciicast

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git-annex-metadata-edit-1.0.0.tar.gz (18.1 kB view details)

Uploaded Source

File details

Details for the file git-annex-metadata-edit-1.0.0.tar.gz.

File metadata

File hashes

Hashes for git-annex-metadata-edit-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c2918b52a7ab567121ed33788ee09d08a7cfad1a5bb216185968c902641a09d7
MD5 5b38ea9e40bac674ee9ed1692bbfdeff
BLAKE2b-256 c22aa463f84b2b5aa23e38288299495c150a55dd5603a492914513322a9b4379

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page