I solved this problem (the non-posix command) by replacing:

err = os.system("mv linux*/* linux*/.[^.]* ..; rmdir linux*")

with

err = os.system("find linux* -maxdepth 1 -mindepth 1 -print0 | xargs -0 -iREF mv REF 
../; rmdir linux*")

--
David Härdeman

Reply via email to