Some fixes.

This commit is contained in:
darko-poljak 2014-01-27 08:01:30 +01:00
parent c5fdf029e2
commit a30cd37814

View file

@ -11,17 +11,20 @@ As module
Print duplicates
^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
dups = file_dups(['images1', 'images2'])
print(dups)
Remove duplicate files
^^^^^^^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
rm_file_dups(['images'])
Perform custom action
^^^^^^^^^^^^^^^^^^^^^
.. code:: python
from sweeper import file_dups
for files in do_with_file_dups(['images']):
for fname in files:
@ -29,7 +32,6 @@ Perform custom action
As script
---------
python sweeper.py --help
Installation