Go to the home directory
poolw06@mrt-lx3:~$ class
LAS> file in observationData/mira/spectraOdp.30m
LAS> find /sou XXXXXXX --> XXXXXXXX name fo the source you want.
LAS> list
LAS> file out XXXXXXXXX new --> XXXXXXXX name of the folder where you are saving your data. NOTE write "new" only if the folder do not exist yet.
LAS> @loopwrite --> this script will write all the spectras in the folder that has just been opened/created. Note that the name should be loopwrite.class
LAS> exit