Coder Social home page Coder Social logo

prepend's Introduction

Prepend

Current version on PyPI

Prepends a list of files with text.

Motivation

Maybe it's just me, but I often find myself prepending a bunch of files in a directory with some text. Since I use this all the time, I figured I'd share it in case it helps anyone else.

Installation

To install prepend, simply:

$ pip install prepend

Usage

To prepend a list of files in a directory with a specific extension:

$ pre 0 .png
1-screenshot.png -> 01-screenshot.png
2-screenshot.png -> 02-screenshot.png
3-screenshot.png -> 03-screenshot.png
4-screenshot.png -> 04-screenshot.png
5-screenshot.png -> 05-screenshot.png
6-screenshot.png -> 06-screenshot.png
7-screenshot.png -> 07-screenshot.png
8-screenshot.png -> 08-screenshot.png
9-screenshot.png -> 09-screenshot.png

You can also use the longhand name, prepend.

Contributing

  1. Check the open issues or open a new issue to start a discussion around your feature idea or the bug you found
  2. Fork the repository and make your changes
  3. Send a pull request

If your PR has been waiting a while, feel free to ping me on Twitter.

Use this software often? Please consider supporting me on Gratipay

prepend's People

Contributors

joeyespo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

prepend's Issues

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.