Lowercase files: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
Simple bash approach. But this script will clobber files when there is a collision: e.g. What if you have John jOhn JOHN john joHN? | |||
You could do the same with the '''rename''' command, which does account for collisions. See <code>man rename(1)</code> | |||
<source lang="bash"> | |||
#! /bin/bash | #! /bin/bash | ||
# | # | ||
| Line 24: | Line 27: | ||
exit 0 | exit 0 | ||
</ | </source> | ||
[[Category:Filesystems]] | |||
[[Category:Files]] | |||