This is how I was doing it before I saw the one liner #!/usr/local/bin/python # ren_to_upper.py import os for fname in os.listdir(os.getcwd()): newfname = fname.upper() os.rename(fname, newfname) --------------------------------------------------- PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us To subscribe, unsubscribe, or to change your mail settings: http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss