From: Bennion, Brian (bennion1_at_llnl.gov)
Date: Fri Sep 18 2015 - 10:05:38 CDT

it would be easier just to rename them with a shell script.
something like

foreach x ( `ls *dcd`)
echo $x
mv $x $x.dcd
end

________________________________________
From: owner-vmd-l_at_ks.uiuc.edu [owner-vmd-l_at_ks.uiuc.edu] on behalf of Gianluca Interlandi [gianluca_at_u.washington.edu]
Sent: Thursday, September 17, 2015 3:35 PM
To: VMD list
Subject: vmd-l: Plugin to read DCD files

Dear VMD list,

I have a bunch of DCD trajectory files saved with the extension .trj
instead of .dcd. I know that in order to read them with VMD I can
explicitly specify the type with "-dcd". However, I wonder whether there
is a way to permanently tell VMD that a .trj extension needs to be read
with the DCD plugin (I am aware that this would conflict with the gromacs
.trj file type).

Are the filetype associations coded in the VMD C routines or in some TCL
script that I could easily modify?

Thanks,

      Gianluca

-----------------------------------------------------
Gianluca Interlandi, PhD gianluca_at_u.washington.edu
                     +1 (206) 685 4435
                     http://artemide.bioeng.washington.edu/

Research Assistant Professor at the Department of Bioengineering
at the University of Washington, Seattle WA U.S.A.
-----------------------------------------------------