diff --git a/README.md b/README.md index f35f925..1fab7f6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,15 @@ # mass_rename -This BASH script is for mass renaming and moving of files. This can be helpful if you have a lot of media files that need to imported into applications such as Jellyfin. +This BASH script is for mass renaming and moving of files. + +### Why this maybe useful +Need to rename media files for use in an application such as; PLEX, Jellyfin, etc.. +Want torename picuture from trip so you can group them together + +Basic code +``` +ls | while read line +do echo $line +mv "$line" "$(echo -e "$line" |sed -e 's///' -e 's///' )" +done +``` +This will subsittute the oldname for the new name.