https://bugs.kde.org/show_bug.cgi?id=428180

--- Comment #13 from Sadi <sadiyumu...@gmail.com> ---
(In reply to fanzhuyifan from comment #12)

Oh, thank you so much!
I've revised my script as per your advice, and it's working perfectly now:

for filename in "${@}"; do
        source_dir="$(dirname "$filename")"
        source_file="$(basename "$filename")"
        cd "$source_dir"
        rename 's/[*\n<|>[\]]/ /g; s/\?//g; s/!//g; s/"//g; s/\\/ /g; s/ ,/,/g;
s/:/-/g; s/\s\s*/ /g; s/^\s\s*//; s/\s\s*\./\./g; '"s/'//g" "$source_file"
done

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to