This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dnf install wget yum-utils make gcc openssl-devel bzip2-devel libffi-devel zlib-devel | |
wget https://www.python.org/ftp/python/3.10.8/Python-3.10.8.tgz | |
tar xzf Python-3.10.8.tgz | |
cd Python-3.10.8 | |
sudo ./configure --with-system-ffi --with-computed-gotos --enable-loadable-sqlite-extensions --enable-optimizations | |
sudo make -j ${nproc} | |
sudo make altinstall | |
sudo rm Python-3.10.8.tgz | |
python3.10 -V | |
pip3.10 -V |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change prefix | |
prefix="someprefix_" | |
for filename in *.jpeg; do mv ${filename} ${prefix}${filename}; done; |