Skip to main content

Change characters in file names for all files in directory and sub-directories.

Project description

BulkFileChanger

This is a simple script that allows you to change or remove characters in the name of all files in a directory and its sub-directories. Example use case: say you have a bunch of files that have "test-" in front of the names of every single file in the directory. You want to change all files with that prefix to "prod-". You can use this script to make the change all in one go.

Installation

There are a couple of options to install this app:

  • Pip Install - This app is hosted on PyPi and can be installed with the following command:
pip3 install BulkFileChanger
  • Local Install - Alternatively, you can download or git clone the Github repo and install it locally with the following:
git clone https://github.com/MysticTechnology/BulkFileChanger.git
cd BulkFileChanger
pip3 install -e .

To uninstall this app:

pip3 uninstall BulkFileChanger
  • If you used the local install option, you will also want to delete the .egg-info file located in the src/ directory of the package. This gets created automatically with pip3 install -e ..

Usage

After installation, you have a couple ways to run this app.

  • Run this app from the terminal with this command:
bulkfilechanger
  • Run this app with the python command python3 -m:
python3 -m bulkfilechanger
  • You can also import the package resources and run them in your own project:
from bulkfilechanger import *
bulkfilechanger = BulkFileChanger()
bulkfilechanger.run()

Support and Contributions

Our software is open source and free for public use. If you found any of these repos useful and would like to support this project financially, feel free to donate to our bitcoin address.

Bitcoin Address 1: 1GZQY6hMwszqxCmbC6uGxkyD5HKPhK1Pmf

alt text

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

BulkFileChanger-0.0.2.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

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

BulkFileChanger-0.0.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file BulkFileChanger-0.0.2.tar.gz.

File metadata

  • Download URL: BulkFileChanger-0.0.2.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.0

File hashes

Hashes for BulkFileChanger-0.0.2.tar.gz
Algorithm Hash digest
SHA256 4ed1db746fa04b052e86fb5e459e6c4bc5b3915c68facdf20a45ec21748fbcd7
MD5 d3e689748012fc6d5112e578855b24a0
BLAKE2b-256 24833ba6e508d95c11c0c31585f4d5fa276fc0bbd2bb1194baa76a7ea106df8e

See more details on using hashes here.

File details

Details for the file BulkFileChanger-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for BulkFileChanger-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5d06db59ad5e47123b0cf340489ba65080458d8b11ec58d7ce946ae3d1f691b
MD5 ec1f916519bdff72e3d5eb59e29b6f20
BLAKE2b-256 0dfd193af62db6b8024d1b04adab32b57533d76b77aa1df713356fcc555778c1

See more details on using hashes here.

Supported by

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