Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2bitninja committed Oct 7, 2023
1 parent a3a825e commit d86a6d4
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit d86a6d4

Please sign in to comment.