mv oldname newname
mv oldfile.txt newfile.txt
To use mv to rename a file type mv , a space, the name of the file, a space, and the new name you wish the file to have.
Then press Enter. You can use ls to check the file has been renamed
eg. mv demo.py demo1.py
mv (option) filename1.ext filename2.ext
$ mv -i oldname newname
mv thirdfile file3
sudo apt install -y mmv
mmv original_name* new_name#1
## OLD NAMES: original_name1 original_name2 original_name3
## NEW NAMES: new_name1 new_name2 new_name3
find . -type f -name 'Lucky-*' | while read FILE ; do
newfile="$(echo ${FILE} |sed -e 's/#U00a9/safe/')" ;
mv "${FILE}" "${newfile}" ;
done
#run odoo on local terminal
/home/adari/.pyenv/versions/odoo13/bin/python odoo-bin -c odoo.conf
/home/adari/.pyenv/versions/odoo13/bin/python /home/adari/Desktop/odoo13/odoo-bin -c odoo.conf