Answers for "linux find and rename files with text"

-1

linux find and rename files with text

find . -type f -name 'Lucky-*' | while read FILE ; do
    newfile="$(echo ${FILE} |sed -e 's/\\#U00a9/safe/')" ;
    mv "${FILE}" "${newfile}" ;
done
Posted by: Guest on January-04-2021

Code answers related to "linux find and rename files with text"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language