twisterp2pnetworkbittorrentblockchainmicrobloggingipv6social-networkdhtdecentralizedtwister-servertwister-ipv6twister-coretwisterarmyp2p-network
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
324 B
26 lines
324 B
import os |
|
|
|
to_delete = [ |
|
'session_stats', |
|
'libtorrent_logs*', |
|
'round_trip_ms.log', |
|
'dht.log', |
|
'upnp.log', |
|
'natpmp.log', |
|
'bin', |
|
'test_tmp_*' |
|
] |
|
|
|
directories = [ |
|
'examples', |
|
'test', |
|
'.', |
|
'tools' |
|
] |
|
|
|
for d in directories: |
|
for f in to_delete: |
|
path = os.path.join(d, f) |
|
print path |
|
os.system('rm -rf %s' % path) |
|
|
|
|