1 2 3 4 5 6 7 8
#!/usr/bin/python # -*- coding: utf-8 -*- # Copyleft (c) 2008 GFORGX <gforgx@gmail.com> import os from shutil import move for file in os.listdir(os.curdir): if file.startswith(' '): move(file, file[1:])