User Tools

Site Tools


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


wiki/remove_first_letter_files_add_other_character.txt · Last modified: 2022/10/29 13:30 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki