https://github.com/4xyy/cli-file-organizer
A command-line tool to organize files in a directory by their type, with options for dry runs and undo functionality.
https://github.com/4xyy/cli-file-organizer
cli file-organization file-organization-tool python python-3 python-script
Last synced: 2 months ago
JSON representation
A command-line tool to organize files in a directory by their type, with options for dry runs and undo functionality.
- Host: GitHub
- URL: https://github.com/4xyy/cli-file-organizer
- Owner: 4xyy
- Created: 2024-09-15T13:24:30.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-15T13:28:41.000Z (9 months ago)
- Last Synced: 2024-10-18T13:14:38.511Z (8 months ago)
- Topics: cli, file-organization, file-organization-tool, python, python-3, python-script
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# CLI File Organizer
A command-line tool to organize files in a directory by their type, with options for dry runs and undo functionality.
## Features
- Sort files into folders by type (documents, images, videos, music, etc.)
- Customizable rules for file types
- Dry run mode to simulate the organization
- Undo the last organization operation## Installation
Clone the repository and set up a virtual environment:
```bash
git clone [email protected]:4xyy/CLI-File-Organizer.git
cd CLI-File-Organizer
python3 -m venv .venv
source .venv/bin/activateUsage
python organize.py /path/to/directory
Dry Run:
python organize.py /path/to/directory --dry-run
Undo Organization:
python organize.py /path/to/directory --undo