User Tools

Site Tools


wiki:bash_commands

This is an old revision of the document!


Bash commands

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

wiki/bash_commands.1663624422.txt.gz · Last modified: 2022/09/19 23:53 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