Skip to content

Instantly share code, notes, and snippets.

View mosesotieno's full-sized avatar
💻

Moses Otieno mosesotieno

💻
View GitHub Profile
@mosesotieno
mosesotieno / clean-names
Created March 3, 2023 13:12 — forked from barbolani/clean-names
Bash script to clean up file names
#!/bin/bash
#
# Often multimedia files downloaded from the internet contain
# as part of the filename things like the site from where they came
# the local language of the audio and such info that is not useful
# when you archive the file to your multimedia repository.
#
# This script renames a set of files, removing everything that does
# not look like part of the file name
#