Minor fixes.
This commit is contained in:
parent
a30cd37814
commit
e98c7983bc
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue