summaryrefslogtreecommitdiffstats
path: root/src/config/ren2long
blob: e44dc8d5ff6eef71533e2817c279c585db95fd01 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# Shell script that changes names that have been truncated to 8.3 format
# back to their original longer name. The awk script produces a script with
# lines of the following format:
#     if [ -f <short> ]; then echo ::mv <short> <long> ; mv <short> <long> ; fi
# These lines then get executed in bin/sh.
#
find . -type f -print | gawk -f $0.awk | sh -x 2> /dev/null