Created
August 30, 2022 13:46
-
-
Save andybak/3190091e6dc9276868c5ad91d323ef6b to your computer and use it in GitHub Desktop.
This file contains 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
import os | |
import shutil | |
d = r"D:\Backups and Old Restores\Macbook Air\Last Backblaze backup of old Macbook Air\MacintoshHD\Users\andybaker\Documents\Unity Projects" | |
l = [os.path.join(d, s, "Library") for s in os.listdir(d)] | |
[shutil.rmtree(x) for x in l if os.path.isdir(x)] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment