Created
October 27, 2014 18:14
-
-
Save bwesterb/11de2023b804c6812452 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
#!/usr/bin/env python | |
import os | |
import os.path | |
import subprocess | |
for fn in os.listdir('.'): | |
if not os.path.isfile(fn): | |
continue | |
if not fn.endswith('.fif'): | |
continue | |
if fn.endswith('_sss.fif'): | |
continue | |
if fn.endswith('_mc.fif'): | |
continue | |
subprocess.call(['ls', '-l', fn]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment