Minor fixes.

This commit is contained in:
darko-poljak 2014-01-27 08:03:00 +01:00
parent a30cd37814
commit e98c7983bc
1 changed files with 5 additions and 1 deletions

View File

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