Skip to content

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

Notifications You must be signed in to change notification settings

Gabriel-Sousa-Amorim/Please-Order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages