An open API service indexing awesome lists of open source software.

https://github.com/roth-a/Bash-Scripts

Bash scripts, including an incremental backup script using rsync. Also a script to convert many videos using ffmpeg
https://github.com/roth-a/Bash-Scripts

backup ffmpeg incremental incremental-backups rsync screenshot snapshot video wayback

Last synced: 11 months ago
JSON representation

Bash scripts, including an incremental backup script using rsync. Also a script to convert many videos using ffmpeg

Awesome Lists containing this project

README

          

# Bash-Scripts
Useful bash scripts

Please correct the hardcoded directories of your scripts, and then you can run them :-)

Run them using "bash scriptxxxx"

## backupMultipleFoldersIncrementally

Creates remote or local incremental backups. The new backup folders are created by only uploading the changed content and creating **hardlinks** for the rest. The backup directory will look something like:
![](screenshot.jpg)

## convert-videos

Converts all videos from a directory (recursively) with ffmpeg to arbitrary formats.

* Output in a separate or source folder (respecting & creating the subfolders)
* Works for Audio (mp3, ogg,...) and Video (avi, mp4, mkv,...)
* Comparison of filesizes before & after and warning if no reduction was achieved
* Naming conventions and ffmpeg details can be changed with parameters (or in the script)
* creates log file (with size difference and code to move old files to the trash)

![](screenshot-convert.jpg)