Giter Site home page Giter Site logo

uniname's Introduction

uniname - Unique Name

A CLI tool - Rename file to unique name quickly

Build Status Go Report Card PRs Welcome

Usage

Usage:
  uniname [-r] [--sha1|--sha256|--sha512] <input file>
  uniname [--sha1|--sha256|--sha512] <input file> -d <output directory>

Example:
  uniname -r foo.png
  uniname -r --sha256 foo.png
  uniname --sha512 foo.png -d foo/images

Optional flags:
  -d string
        rename to the specified directory
  -h    print help
  -md5
        using md5sum (default true)
  -r    rename the input file
  -sha1
        using sha1sum
  -sha256
        using sha256sum
  -sha512
        using sha512sum
  -v    print version

Examples

uniname -r foo.png                    # md5sum, rename file.
uniname -r --sha1 foo.png             # sha1sum, rename file.
uniname --sha256 foo.png              # sha256sum, do nothing.
uniname --sha512 foo.png -d ./images  # sha512sum, create file to ./images.

Install

If you have a Golang environment:

go get -u github.com/WindomZ/uniname

Or download the latest binary release

Changelog

See CHANGELOG.md

Contributing

Welcome to pull requests, report bugs, suggest ideas and discuss, i would love to hear what you think on issues page.

If you like it then you can put a โญ on it.

License

MIT

uniname's People

Contributors

windomz avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

uniname'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.