Endwall
07/05/2017 (Wed) 11:51:22
No.969
del
>>964I have added the functionality that was requested. The random string function seems to have some issues and might be eating files, but I think I've fixed this by adding index numbers onto either end of the string. Save the backup.tar.gz file and test it out.
$ renum --help
$ renum --rand --ranstr # use a random string padded by the index number
$ renum --rand --md5str # use the md5 of the file as filename
$ renum --rand
$ renum
my implimentation sometimes prints out 1 and 2 character strings, but the index number padding should prevent overwriting. I have also made some optimizations in how many hashes are preformed. This should run slightly faster. I'll work on a parallel processing implementation later maybe in november or if I get interested enough to try it.