Skip to content

A CLI tool to rename files in bulk. Helpful in data preparation tasks in data science and Machine Learning

License

Notifications You must be signed in to change notification settings

Dev-Akash/Bulkren

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bulkren

PyPI version Downloads Downloads

A simple PYPI package for bulk renaming files inside a folder.

How to Install

Command: pip install Bulkren

How to Use

  • Open Terminal.
  • Install Bulkren using the above command.
  • Run python -m Bulkren -h for help.

Usage

The package can be used as follows:

python -m Bulkren -i <input_folder_path> -o <output_folder_path> -p <patter_to_rename>

Example

python -m Bulkren -i C:\User\Akash\Desktop\input_folder -o C:\User\Akash\Desktop\output_folder -p images_XYZ

This above example will take all the files in C:\User\Akash\Desktop\input_folder and then rename it with pattern images_XYZ where XYZ would be replaced number count of file (remember to add XYZ in end only) and will save it to the C:\User\Akash\Desktop\output_folder folder.

Note : If the -o argument is not passed then it will automatically create a output named folder in same parent directory, for above example the output folder path would be C:\User\Akash\Desktop\output

Definitions

  • -i or --input takes input folder path
  • -o or --output takes output folder path
  • -p or --pattern takes pattern for renaming files.

where

-i is required parameter

-o is optional parameter

-p is required parameter

Blogs

About

A CLI tool to rename files in bulk. Helpful in data preparation tasks in data science and Machine Learning

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages