Skip to content

arazyan/daily-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

What is this repo?

What:
A collection of small utility scripts that i use in my daily workflow — video compression, Git auto-commits, media cleanup, and other small tools that saves me some time.

Why:
I kept rewriting the same scripts on different machines, got tired of digging through backups, and finally decided to publish everything in one place. If these tools help someone else avoid a few repetitive tasks — even better.


Scripts

A curated set of pragmatic scripts for everyday tasks: compression, syncing, cleanup, and small workflow automations.


Navigation


Scripts Overview

mp4-compressor

A lightweight wrapper around ffmpeg to compress .mp4 files with reasonable defaults and adjustable quality settings.

Features:

  • Scans a directory for .mp4 files (case-insensitive)
  • Skips files already ending with "_compressed.mp4"
  • Compresses using H.264 (libx264) with CRF=23 (good quality-size balance)
  • Preserves original files, appends "_compressed" to output
  • Handles spaces, parentheses, and weird filenames
  • Measures total execution time

Installation

NOTE This scripts require POSIX compliant shells. For example bash and zsh, but not fish. Alternatively, you can enter bash and then run the desired <script.sh>.

Clone the repository:

git clone https://github.com/arazyan/daily-scripts.git
cd daily-scripts

Make the scripts executable:

chmod +x scripts/*

Optionally add them to your PATH:

echo "export PATH=\"\$PATH:$(pwd)/scripts\"" >> ~/.bashrc # or ~/.zshrc or else

License

See the LICENSE file for license rights and limitations (MIT).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages