This commit is contained in:
rnhmjoj 2015-08-27 22:16:56 +00:00
parent 2849e15e9f
commit 16c721a47d
4 changed files with 38 additions and 0 deletions

20
LICENSE Normal file
View File

@ -0,0 +1,20 @@
Copyright (c) 2015 rnhmjoj
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

2
Main.hs Normal file
View File

@ -0,0 +1,2 @@
import Distribution.Simple
main = defaultMain

16
hashrename.cabal Normal file
View File

@ -0,0 +1,16 @@
name: hashrename
version: 0.1.0.0
synopsis: Rename every file in a directory with his SHA1 hash. Perfect to clean messy folders.
license: MIT
license-file: LICENSE
author: rnhmjoj
maintainer: micheleguerinirocco@me.com
copyright: Copyright (c) Michele Guerini Rocco
category: Utility
build-type: Simple
cabal-version: >=1.10
executable hashrename
main-is: Main.hs
build-depends: base >=4.8 && <4.9, directory, filepath, cryptohash, bytestring
default-language: Haskell2010