From 3105cc92af13447694def56ddc77166204021c7c Mon Sep 17 00:00:00 2001 From: zlg Date: Thu, 15 Jan 2015 01:35:50 -0800 Subject: Fix version string, add TODO items --- TODO | 15 +++++++++++++++ dupekill | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index 8b13789..b72bb50 100644 --- a/TODO +++ b/TODO @@ -1 +1,16 @@ +* Find a way to work with stdin so shell scripters can feed text to + dupekill and it can figure out what to do +* If given a list, let dupekill determine if it's a directory or a file. + If a directory, check every file in it. If a file, add it to the list of + files to be inspected. This will likely require a refactor +* An option to turn duped files into hardlinks +Refactored feature-set: + +- Dry run / ask user +- ignore symlinks +- recursive +- interactive +- keep newer files +- keep older files +- verbose diff --git a/dupekill b/dupekill index 1d63b28..c80f837 100755 --- a/dupekill +++ b/dupekill @@ -224,7 +224,7 @@ if __name__ == '__main__': usage = "Usage: %prog [options] {path}" description = "Deletes files that have duplicate data in them" epilog = "dupekill likes to munch on files. A lot. By default, symlinks and hardlinks that point to the same file will be deleted. Be careful!" - version = "%prog version 1.5 (2012-04-05)" + version = "%prog version 1.6 (2012-06-13)" parser = OptionParser(usage=usage, description=description, epilog=epilog, version=version) parser.add_option("-d", "--dry", dest='dry_run', action='store_true', default=False, help="don't delete any files") parser.add_option("-r", "--recursive", dest='recursive', action='store_true', default=False, help="recurse into all directories below the current directory") -- cgit v1.2.3-54-g00ecf