#!/usr/bin/python import os,sys,string CMD = 'cd / && echo cp -a `/bin/ls -1Ab | egrep -v "^new-disk$|^proc$"`/new-disk | sh' os.system(CMD)