diff options
author | zlg <zlg@zlg.space> | 2015-01-15 01:35:50 -0800 |
---|---|---|
committer | zlg <zlg@zlg.space> | 2018-06-25 22:38:30 -0700 |
commit | 3105cc92af13447694def56ddc77166204021c7c (patch) | |
tree | 86735802ca6658e86a8e8a701b3f863c9af56d32 | |
parent | Skip over device and character nodes, sockets (diff) | |
download | dupekill-3105cc92af13447694def56ddc77166204021c7c.tar.gz dupekill-3105cc92af13447694def56ddc77166204021c7c.tar.bz2 dupekill-3105cc92af13447694def56ddc77166204021c7c.tar.xz dupekill-3105cc92af13447694def56ddc77166204021c7c.zip |
Fix version string, add TODO items
Diffstat (limited to '')
-rw-r--r-- | TODO | 15 | ||||
-rwxr-xr-x | dupekill | 2 |
2 files changed, 16 insertions, 1 deletions
@@ -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 @@ -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") |