GithubHelp home page GithubHelp logo

br's Introduction

br Bulk Rename

br is a simple command-line utility written in C that allows you to rename multiple files and directories eficiently. It opens a list of files in your preferred text editor, enabling you to modify the names as you see fit. After editing, br renames the files according to your modifications.

Usage

To use br, run the executable from the command line. If no arguments are provided, VimV will list files and directories in the current directory. If you provide file or directory names as arguments, VimV will use them instead.

./br [file1] [file2] ... If you run br without any arguments, it will operate on all regular files and directories in the current directory.

How it Works

Listing Files: br first lists the files and directories either from the command-line arguments or from the current directory.

Changing default Editor:

br relies on $EDITOR

Example

./br file1.txt file2.txt

Notes

br skips files with names '.' and '..', as these represent the current and parent directories. If a destination file already exists, br will skip renaming that particular file and proceed with the next one. Error messages will be displayed if any issues occur during the process.

Dependencies

br Standard C libraries and a text editor

Build

./c ./c install ./c remove

Author

This program was created by Vulto. Feel free to modify and distribute this code as per the license.

br's People

Contributors

vulto avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.