A personal issue at home with my media section.
I have a script that moves my content into its own folder......
find . -type f ! -name "*script*" | while read file;
mv "$f" "$f1"
I would like to modify the script ...
Imagine I have 4 files in a directory - Every files has " - S"*****************
NameOfShow -SXXEXX - Description
NameOfShow1 - SXXEXX - Description 1
NameOfShow 2 - SXXEXX - Description 2
NameOfShow 3 - SXXEXX - Description 3
I run the script - I would like to remove everything after the NameOfShow" - S*"
Files should become: