I have a bunch of folders I need to open in sequence and extract relevent data. They look like this:
Code:
20090810_13h25_491_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam8.9_I7e13
20090810_13h25_492_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.0_I7e13
20090810_13h25_493_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.1_I7e13
20090810_13h25_494_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.2_I7e13
20090810_13h25_495_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.3_I7e13
20090810_13h25_496_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.4_I7e13
20090810_13h25_497_impact_cross_section_HS_motion_test_dt00.001000as_nbions000002_S0I0T0R0_potGaussianDistribution_iTE0.2_ImParam9.5_I7e13
I don't care about the first part, only the last few bits: potGaussianDistribution_iTE0.2_ImParam9.3_I7e13
Using wildcards, is there a way to iterate through these one after the other?
Basically, I just want to wildcard out the first 3/4 of each folder name.Will a simple * work like in bash? *is hopeful*