aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzlg <zlg@zlg.space>2015-01-15 01:35:50 -0800
committerzlg <zlg@zlg.space>2018-06-25 22:38:30 -0700
commit3105cc92af13447694def56ddc77166204021c7c (patch)
tree86735802ca6658e86a8e8a701b3f863c9af56d32
parentSkip over device and character nodes, sockets (diff)
downloaddupekill-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--TODO15
-rwxr-xr-xdupekill2
2 files changed, 16 insertions, 1 deletions
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")