batch nightly

A tool for batch processing using your favorite text editor.

batch

batch is a tool for batch processing using your favorite text editor.

The command takes a list of items, lets you edit the list in your favorite text editor, then generates a shell script to batch process unchanged items, renamed items, and deleted items. You can edit the script to add your own logic for how to process each kind of item, and then run it.

By default, the batch utility reads a list of items from standard input and writes unchanged items, renamed items, and deleted items to standard output.

In addition to interactive use, you can supply shell script fragments to automate the editing and batch processing stages.

Features

  • Uses your favorite text editor for batch processing.
  • Customizable pick, map and drop actions.
  • Automate repetitive tasks with external filters—such as tr, sed or awk—before invoking the editor.
  • Lets you review inlined actions in your text editor before processing.

Installation

Nightly builds

Download the Nightly builds.

Build from source

Install Crystal with the shards command.

git clone https://github.com/taupiqueur/batch.git
cd batch
make install

Documentation

See the manual for setup and usage instructions.

batch is also documented via man pages. For a list of available man pages, refer to man -k batch or batch(1).

Contributing

Report bugs on the issue tracker, ask questions on the IRC channel, send patches on the mailing list.

Repository

batch

Owner
Statistic
  • 10
  • 1
  • 1
  • 0
  • 0
  • 9 days ago
  • April 13, 2022
License

MIT License

Links
Synced at

Sat, 21 Dec 2024 12:51:27 GMT

Languages