twisterp2pblockchainnetworkbittorrentipv6microbloggingsocial-networkdhtdecentralizedtwister-coretwisterarmyp2p-networktwister-servertwister-ipv6
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.
27 lines
324 B
27 lines
324 B
12 years ago
|
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)
|
||
|
|