https://github.com/gabriel-sousa-amorim/please-order
A Python Project, that can order a directory and their children. That can order or by Modification Date or by Extension Type.
https://github.com/gabriel-sousa-amorim/please-order
ordering-algorithms python python3
Last synced: over 1 year ago
JSON representation
A Python Project, that can order a directory and their children. That can order or by Modification Date or by Extension Type.
- Host: GitHub
- URL: https://github.com/gabriel-sousa-amorim/please-order
- Owner: Gabriel-Sousa-Amorim
- Created: 2024-09-15T22:37:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T18:50:24.000Z (over 1 year ago)
- Last Synced: 2025-01-13T01:42:52.145Z (over 1 year ago)
- Topics: ordering-algorithms, python, python3
- Language: Python
- Homepage: https://gabriel-sousa-amorim.github.io/Please-Order/
- Size: 97.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Please-Order](https://github.com/Gabriel-Sousa-Amorim/Please-Order/)
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:
```sh
git clone https://github.com/Gabriel-Sousa-Amorim/Please-Order.git
```
2. Navigate to the project directory:
```sh
cd Please-Order/
```
3. Install requirements:
```
pip install -r requirements.txt
```
## Usage
To generate ASCII art from an image, run the following command:
```sh
python3 order.py
```
- Replace ``, with one of the two options:
- `-d` Sort by Date.
- `-t` Sort by Type.
- Replace `` 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/](https://gabriel-sousa-amorim.github.io/Please-Order/tests/) folder for example outputs.