- Added `scripts/library/venv_utils.py`: - Utilities for creating, activating, and managing Python virtual environments. - Supports automatic requirement installation and optional --verbose mode. - Added `scripts/change_case.py`: - CLI script to recursively rename files and directories based on case transformation (lower, upper, capitalize). - Supports --recursive and --case flags, and integrates with `venv_utils.py`. - Updated README with usage instructions and documentation for new components. |
||
|---|---|---|
| docsource | ||
| notes | ||
| pages | ||
| requests/errors | ||
| scripts | ||
| setups | ||
| .gitignore | ||
| LICENSE | ||
| README.md | ||
| requirements.txt | ||
| TODO.md | ||
scripts-fabq
scripts-fabq is a collection of useful scripts and notes aimed at streamlining command-line operations and improving productivity. This repository is currently incomplete, as I am in the slow process of adding notes and scripts that are stored in closed-source repositories as I revise them.
📚 Overview
This repository is structured into several key directories:
-
scripts/: Contains individual scripts for various tasks. Currently, it includes:
scripts/library/: Libraries used by Python scripts.venv_utils.py: Utility functions for creating, activating, and managing Python virtual environments.
change_case.py: A script for renaming files and directories by changing their case.video_manage_audio.py: A script for removing audio from video files.video_manage_subtitles.py: A script for removing subtitles from video files.video_autoreduce.py: A script for automatic resolution reduction of video files.video_autoreduce_rename.py: A script for automated renaming of video files post resolution reduction.
-
notes/: A collection of markdown files containing notes on various topics, including:
brother.md: Information about Brother printers on Linux.btrfs.md: Btrfs filesystem configuration and tips.chrome-driver.md: Notes on ChromeDriver setup and usage on Linux.debian packaging.md: Debian packaging guidelines.dns.md: DNS configuration and troubleshooting.linux.md: General Linux tips.pdf.md: PDF manipulation with Linux command line.pdftk.md: PDF Toolkit usage.pip packaging.md: Packaging Python projects with pip.ssh.md: Secure Shell (SSH) configuration and tips.wordpress.md: WordPress debugging and tips.
-
pages/other/: Templates for other pages, such as the homepage of my Debian package repository. These are provided as inspiration and should not be used as-is.
debrepo.fabq.ca.html: This file serves as the homepage for my Debian package repository. It provides the instructions to add the repository to user's system's sources list and install packages securely.
-
pages/errors/: Templates for error pages. These are provided as inspiration and should not be used as-is.
-
pages/static/: This directory contains static images used throughout the pages in the repository. These images are copyrighted to me and may be used to enhance the visual appeal of the documentation and guides.
-
requests/errors/: Similar to the
pages/errors/directory, this contains error pages structured as requests for software like HAProxy. -
setups/: A collection of markdown files containing notes on configuring servers, including:
debian_setup_aptly.md: Comprehensive guide for installing Aptly on Debian.debian_setup_gitea.md: Comprehensive guide for installing Gitea on Debian.
📖 Documentation
Comprehensive documentation will be published at https://fabquenneville.github.io/script-fabq/ but is not available yet.
⚙️ Usage
To use the scripts, navigate to the scripts directory and execute the desired script using Python or Bash.
Example for python:
cd scripts
python video_remove_audio.py
🤝 Contributing
Pull requests are welcome! For major changes, please open an issue first to discuss your ideas.
Please ensure to update any tests as appropriate.
📜 License
This project is licensed under the GNU GPLv3