Written by Alex Ganose @utf and Janosh Riebesell @janosh. Published 2022-03-28. Last updated 2024-03-30.
-
Install Xcode command line tools:
xcode-select --install
| import os | |
| import sys | |
| _, dirname, prefix = sys.argv | |
| os.chdir(dirname) | |
| files = sorted(f for f in os.listdir() if not f.endswith(".xmp")) | |