I find your project very interesting, I would like to adapt it to my own robotic arm that I am developing
I have a question, how exactly should I use the codes to customize my work environment?
function findreplace() {
grep -lr -e "$1" * | xargs sed -i "s/$1/$2/g" ;
}
function findreplacefilename() {
find . -depth -name "*$1*" -exec bash -c 'for f; do base=${f##*/}; mv -- "$f" "${f%/*}/${base//'$1'/'$2'}"; done' _ {} +
}
findreplacefilename rrbot myrobot
findreplace rrbot myrobot
findreplace RRBot MyRobot
findreplace RRBOT MYROBOT
I find your project very interesting, I would like to adapt it to my own robotic arm that I am developing
I have a question, how exactly should I use the codes to customize my work environment?