Giter VIP home page Giter VIP logo

batch-file-renamer's People

Contributors

rohanorton avatar

Watchers

 avatar  avatar

batch-file-renamer's Issues

Duplicate file destination

What should happen if there is duplicate file destination?

My gut says that we should bail out before touching the file system and log out a clear error message.

Is this always what we want to happen? How about adding increments to files like windows does?

duplicate-filename(1).txt
duplicate-filename(2).txt
duplicate-filename(3).txt

Add support for streams

Tried it, but it was harder than I thought... maybe learn how to actually use streams! lol

recursive renaming

Should be able to point at a directory and rename everything inside it

Limit by extension

Should be able to add a comma separated list of extensions to rename so that we can ignore files

Write some docs

Oh god, I'm going to have to write some documentation for this thing, aren't I ... oh well.

Add logging

Currently there is no logging. Need to be able to log to varying degrees controllable by verbosity flags.

Windows incompatible

Does not work on windows. Nothing is logged, if --DEBUG is enabled, "Cleaning up" is logged.

Also, is the .tmp folder stored in the package or in the cwd?

Handle file permission issues

Currently there are no means of dealing with issues caused by incorrect permissions, need to add this to at least the error handler.

dry run flag

It would be great to have a dry run flag which would mock changes to filesystem without altering it.

this could use mock-fs

not sure if that will interfere with tests though... worth experimenting!!

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.