Skip to content

Commit

Permalink
demo for scanners
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-anand committed Sep 20, 2020
1 parent 23b7674 commit 0dcc488
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
5 changes: 5 additions & 0 deletions ADVANCEDSCANNER.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Advanced Scanner
================

.. image:: https://i.imgur.com/nmL8HwX.gif

15 changes: 9 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ Option 1: installing through `pip <https://pypi.org/project/Filezen/>`__ (Recomm

If you are behind a proxy

``$ pip --proxy [username:password@]domain_name:port install -i https://pypi.org/project/Filezen/``
``$ pip --proxy [username:password@]domain_name:port install Filezen``

**Note:** If you get ``command not found`` then
``$ sudo apt-get install python-pip`` should fix that
Expand Down Expand Up @@ -109,9 +109,8 @@ Simple Scanner
]
}'
- If a file with the same name is already present in the *Output Directory* then ``Simple Scanner`` would ignore the file and leave it to the user.
- The filename which hasn't being because of the reason stated above would be returned in the ``NotMoved`` array of the result.
- If no *Output Directory* is specified, then ``Simple Scanner`` would create folders in the *Input Directory* itself.
- `Watch Simple Scanner in action <https://github.com/ab-anand/Filezen/blob/master/SIMPLESCANNER.rst>`__.

Advanced Scanner
~~~~~~~~~~~~~~~~
Expand Down Expand Up @@ -147,9 +146,13 @@ Advanced Scanner
]
}'
- Similar to ``Simple Scanner``, if a file with the same name is already present in the *Output Directory* then ``Advanced Scanner`` would ignore the file and leave it to the user.
- The filename which hasn't being because of the reason stated above would be returned in the ``NotMoved`` array of the result.
- If no *Output Directory* is specified, then ``Advanced Scanner`` would read the folders in the *Input Directory* itself and move accordingly.
- If no **Output Directory** is specified, then ``Advanced Scanner`` would read the folders in the **Input Directory** itself and move accordingly.
- `Watch Advanced Scanner in action <https://github.com/ab-anand/Filezen/blob/master/ADVANCEDSCANNER.rst>`__.

**Note:** If a file with the same name is already present in the **Output Directory** then ``Filezen`` would
ignore the file and leave it to the user. In the resulting JSON, you'll get the all such filenames which
were not moved in the ``NotMoved`` list.


Applications
~~~~~~~~~~~~
Expand Down
4 changes: 4 additions & 0 deletions SIMPLESCANNER.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Simple Scanner
==============

.. image:: https://i.imgur.com/V99Myqg.gif
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

Filezen
=======

|readthedocs.org| |license| |build| |pypi|


Expand Down
2 changes: 1 addition & 1 deletion filezen/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Version of Filezen package
VERSION = "1.3.1"
VERSION = "1.4.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
__version__ = VERSION


with open("README.rst", "r", encoding="utf-8") as f:
with open("README.rst", "r") as f:
long_description = f.read()


Expand Down

0 comments on commit 0dcc488

Please sign in to comment.