The hashrename package

[ Tags: gpl, program, utility ] [ Propose Tags ]

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]

Properties

Versions 0.1.1.0
Dependencies base (>=4.8 && <5.0), bytestring, cryptohash, directory, filepath [details]
License GPL-3
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 Tue Jan 30 09:30:00 UTC 2018 by rnhmjoj
Distributions NixOS:0.1.1.0
Executables hashrename
Downloads 27 total (27 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-01-30 [all 2 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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/.