Code Monkey home page Code Monkey logo

rename-files-to-hash's Introduction

Rename-Files-To-Hash

Single python file to rename all files in a directory to their hash sums.


Run the file

The file is written in the language python which means you have to have python installed. If not: Do so here.

To run the script open a command prompt/shell and type in: python !rename.py This will rename all files (itself excluded) to the hashing algorithm md5.

If you want to use another hashing algorithm from the list use this command: python rename.py [md5/sha1/sha224/sha256/sha384/sha512]

Supported hashes

  1. MD5
  2. SHA1
  3. sha224
  4. sha256
  5. sha384
  6. sha512

rename-files-to-hash's People

Contributors

marvinjwendt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rename-files-to-hash's Issues

rename.py is overwriting itself

I would modify the following lines as such to fix the issue:
30 if not file == "rename.py":
31 if not file == "random.bat":

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.