hashrename: Rename every file in a directory with his SHA1 hash.

[ gpl, program, utility ] [ Propose Tags ] [ Report a vulnerability ]

hashrename is a small program to that renames every file in a given directory by using (a portion) of its SHA1 hash. To clean up a messy directory call hashrename path or just hashrename to use the current one.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.1.0
Dependencies base (>=4.8 && <5.0), bytestring, cryptohash, directory, filepath [details]
License GPL-3.0-only
Copyright Copyright (c) Michele Guerini Rocco
Author rnhmjoj
Maintainer rnhmjoj@inventati.org
Category Utility
Home page https://gist.github.com/rnhmjoj/20ea1b366d45b1c4c0e8
Source repo head: git clone https://github.com/rnhmjoj/hashrename
Uploaded by rnhmjoj at 2018-01-30T09:30:00Z
Distributions NixOS:0.1.1.0
Reverse Dependencies 1 direct, 0 indirect [details]
Executables hashrename
Downloads 873 total (8 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-01-30 [all 2 reports]

Readme for hashrename-0.1.1.0

[back to package description]

hashrename

Rename every file in a directory with its SHA1 hash.

hashrename is a small program to that renames every file in a given directory by using (a portion) of its SHA1 hash. To clean up a messy directory call hashrename <path> or just hashrename to use the current one.

Example

$ hashrename ~/mid
Renaming files in /home/rnhmjoj/mid
Fugue in G Minor.mid -> 55474B5604.mid
Eine Kleine Nachtmusik (Lute).mid -> D229488066.mid
Moonlight Sonata 3rd Movement.mid -> EDB36A19CA.mid
Sonata Zapateado.mid -> F69717BF11.mid
Eine Kleine Nachtmusik (Harp).mid -> 9E0A082FB8.mid
Canon In D.mid -> 550C9091B5.mid
Elvira Madigan 2nd Movement.mid -> E7E4A4A14B.mid
Sonata Facile 1st Movement.mid -> 4FA4A360F5.mid
Moonlight Sonata 2nd Movement.mid -> 1BE8B96D66.mid
Fur Elise.mid -> 784DAA6AE2.mid
Toccata & Fugue.mid -> B457676FFD.mid
Moonlight Sonata 1st Movement.mid -> F5324BCA0D.mid
Files renamed successfully

License

Copyright (C) 2015 Michele Guerini Rocco

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.