I accomplished this by renaming the files using this shell snippet:
for x in *.PDF; do y="`echo "$x" | sed -e s/\.PDF$/.pdf/g`" mv -i "$x" "$y-" mv -i "$y-" "$y" done
There are two moves because the file system acts case insensitive and recognizes the initial and final file name as the same. Also the file name variables are quoted because of spaces in the file names.
No comments:
Post a Comment