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 hashes)

Uploaded Source

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