Skip to content

melikuomer/Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Scripts

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.


Table of Contents


Scripts Overview

group_files.py

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

addto_path.py

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

Setup and Usage

Running Individual Scripts

  1. Clone this repository:

    git clone https://github.com/your-username/automation-scripts.git
    cd automation-scripts
  2. Run the desired script:

    • For group_files.py:
      python group_files.py <directory>
    • For addto_path.py:
      python addto_path.py <directory>

Adding Scripts to PATH

To make all scripts in this repository accessible globally:

  1. Navigate to the repository directory:

    cd /path/to/automation-scripts
  2. Add the repository directory to your PATH using addto_path.py:

    python addto_path.py /path/to/automation-scripts
  3. After adding to PATH, you can directly run scripts from anywhere:

    • Example:
      group_files.py /path/to/directory

Contributing

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:

  1. Fork the repository.
  2. Create a new branch:
    git checkout -b feature/your-feature-name
  3. Commit your changes:
    git commit -m "Add a brief description of your feature"
  4. Push the branch:
    git push origin feature/your-feature-name
  5. Open a pull request.

License

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!

About

Simple automation scripts to make my day easier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages