{{tag>bash commands cli}} ====== Remove first letter from files and add other character ====== Remove first character: for f in *; do mv "$f" "${f:1}"; done Add 8 to filename: for f in *; do mv "$f" "8$f"; done ====== Tested on ====== * ====== See also ====== ====== References ======