Skip to main content

WARNING: batchop is in early beta. It has bugs. Only use it on files that you have backed up.

batchop is a command-line tool and Python library for doing operations on sets of files, with an intuitive, human-readable syntax.

# or use `pipx` to install it in an isolated environment
$ pip install batchop

$ alias bop=batchop
$ bop list files with ext jpg
05_27_beach.jpg
05_27_cabin.jpg
05_28_hike.jpg

batchop can list, count, rename, and delete files. It's a general-purpose replacement for find, xargs, hand-written bash loops, etc.

# change mm/dd to dd/mm/yyyy
$ bop rename '*_*_*.jpg' to '#2_#1_2024_#3.jpg'

# delete big out-takes
$ bop delete '*.jpg' in outtakes gt 5mb

Oh, and you can undo commands, too:

$ bop undo
# out-takes are back!

Download files

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

Source Distribution

batchop-0.1.2.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

batchop-0.1.2-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file batchop-0.1.2.tar.gz.

File metadata

  • Download URL: batchop-0.1.2.tar.gz
  • Upload date:
  • Size: 12.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Darwin/22.6.0

File hashes

Hashes for batchop-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c901b78f552fb5118c525c6db05d632d8d1453b9bb54992367a9a3b9010e9bc4
MD5 2b56f030494e19ad556c8f6367af89c9
BLAKE2b-256 907e936d52ee3c7ac152af1940a78f6a50abbf7f26b54904a0fd2f5a6dc3c824

See more details on using hashes here.

File details

Details for the file batchop-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: batchop-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.5 Darwin/22.6.0

File hashes

Hashes for batchop-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f1651b428d2c20a4fb627a77ce7972d2a09f92e45bd0dbf74ffa692966b5fab
MD5 ba2cf373ce815774bb2d8a078cc2a0be
BLAKE2b-256 97de59901310468322e5e0e86688b4a38e342e8abb4ea0bff13c6f6882caebcf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page