Created
January 29, 2013 06:57
-
-
Save boredzo/4662356 to your computer and use it in GitHub Desktop.
Program to create deletion armor. IMPORTANT: Create, set as invisible, and cd into ~/#Deletion-armor.noindex before you run this. (# makes it sort high; .noindex makes Spotlight skip it.)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import os | |
| assert os.getcwd() != os.getenv('HOME'), "You REALLY don't want to run this in your Home directory; consider running it within ~/#Deletion-armor.noindex instead (which you should set invisible so Finder doesn't try to examine it)" | |
| for x in xrange(100000000): | |
| f = open('Armor shard #' + str(x), 'w') | |
| f.close() | |
| del f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment