Update README.rst
This commit is contained in:
parent
30620884c9
commit
609418975e
1 changed files with 2 additions and 2 deletions
|
@ -18,14 +18,14 @@ Remove duplicate files
|
|||
|
||||
.. code:: python
|
||||
|
||||
from sweeper import file_dups
|
||||
from sweeper import rm_file_dups
|
||||
rm_file_dups(['images'])
|
||||
|
||||
Perform custom action
|
||||
|
||||
.. code:: python
|
||||
|
||||
from sweeper import file_dups
|
||||
from sweeper import iter_file_dups
|
||||
for files in iter_file_dups(['images']):
|
||||
for fname in files:
|
||||
print('found duplicate file with name: %s' % fname)
|
||||
|
|
Loading…
Reference in a new issue