Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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 
Source by unix.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #linux #find #rename #files #text
ADD COMMENT
Topic
Name
8+5 =