Add delete_files.py.
parent
af6176286c
commit
c58b851427
|
@ -0,0 +1,10 @@
|
|||
import os
|
||||
|
||||
from voussoirkit import pipeable
|
||||
|
||||
for line in pipeable.go():
|
||||
if os.path.isfile(line):
|
||||
print('Deleting', line)
|
||||
os.remove(line)
|
||||
else:
|
||||
print('Not a file', line)
|
Loading…
Reference in New Issue