This repository contains simple yet powerful automation scripts designed to make your life easier. Each script requires minimal setup and takes a directory as a parameter to perform its function.
Additionally, you can easily add all scripts in this repository to your system's PATH for seamless access.
Organize files within a specified directory by grouping them based on criteria like file type, size, or any custom logic implemented in the script.
- Usage:
python group_files.py <directory>
- Example:
python group_files.py /path/to/your/folder
Add a specified directory to your system's PATH, allowing you to execute scripts and binaries from that directory without providing the full path.
- Usage:
python addto_path.py <directory>
- Example:
python addto_path.py /path/to/your/folder
-
Clone this repository:
git clone https://github.com/your-username/automation-scripts.git cd automation-scripts -
Run the desired script:
- For
group_files.py:python group_files.py <directory>
- For
addto_path.py:python addto_path.py <directory>
- For
To make all scripts in this repository accessible globally:
-
Navigate to the repository directory:
cd /path/to/automation-scripts -
Add the repository directory to your PATH using
addto_path.py:python addto_path.py /path/to/automation-scripts
-
After adding to PATH, you can directly run scripts from anywhere:
- Example:
group_files.py /path/to/directory
- Example:
Contributions are welcome! If you have ideas for new scripts or improvements to existing ones, feel free to submit a pull request. Follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b feature/your-feature-name
- Commit your changes:
git commit -m "Add a brief description of your feature" - Push the branch:
git push origin feature/your-feature-name
- Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
Let me know if you'd like further customization or additional details!