Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.23 KB

A Python Project, that can order a directory and their children. That can order or by Modification Date or by Extension Type.

Requirements

  • Python 3.4+ (recommended Python 3.4 or later)
  • Pip (required if using Python below 3.4)
  • Git (optional for cloning the repository)

Installation

  1. Clone the repository or download the source code:
git clone https://github.com/Gabriel-Sousa-Amorim/Please-Order.git
  1. Navigate to the project directory:
cd Please-Order/
  1. Install requirements:
pip install -r requirements.txt

Usage

To generate ASCII art from an image, run the following command:

python3 order.py <option-of-order> <path-to-order>
  • Replace <option-to-order>, with one of the two options:

    • -d Sort by Date.
    • -t Sort by Type.
  • Replace <path-to-order> to a relative or absolute path to be ordered.

Warning

It Does not copy the files, it moves the files. And can remove files with the same name, so before running the script, it is reccomended to BACKUP the files.

Running Tests

Check the tests/ folder for example outputs.