Skip to content

Instantly share code, notes, and snippets.

@michaeldorner
Last active February 22, 2023 09:37
Show Gist options
  • Save michaeldorner/d00845353a5083d2de346787f020813e to your computer and use it in GitHub Desktop.
Save michaeldorner/d00845353a5083d2de346787f020813e to your computer and use it in GitHub Desktop.
import shutil
from pathlib import Path
data_dir = './data' # please speficy the data dir
for path in Path(data_dir).rglob('timeline'):
print(path)
shutil.rmtree(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment