Skip to content

Instantly share code, notes, and snippets.

@lifesign
Created February 13, 2014 05:16
Show Gist options
  • Save lifesign/8970120 to your computer and use it in GitHub Desktop.
Save lifesign/8970120 to your computer and use it in GitHub Desktop.
mv multiple file
#!/usr/bin/env python
import os
for i in range(1,34):
print os.system("yes|mv /data/xxx/%d xxxx/xxx/%d" % (i, i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment