Issue
In the working directory I have 7 files of the following name:
_MMPBSA_receptor.nc.0
_MMPBSA_receptor.nc.1
_MMPBSA_receptor.nc.2
..
_MMPBSA_receptor.nc.6
The following command executed from bash could load all the files at once:
# load all nectdf files
vmd -netcdf _MMPBSA_receptor.nc.*
how could I load at once all the nc files of e.g. the given range or ignore some specific file?
vmd -netcdf _MMPBSA_receptor.nc.{2 .. 6}
thus ignoring vmd -netcdf _MMPBSA_receptor.nc.0
and vmd -netcdf _MMPBSA_receptor.nc.1
Solution
You almost had it. Don't put in spaces:
vmd -netcdf _MMPBSA_receptor.nc.{2..6}
Answered By - pmf Answer Checked By - Gilberto Lyons (WPSolving Admin)