Camps,
If you have python and the atomistic simulation environment (ASE,
https://wiki.fysik.dtu.dk/ase/), then something like this should work (warning, it is untested)
=========
xyz2vasp.py
------------------
import sys
import numpy as np
from os.path import stripext
from
ase.io import read, write
if len(sys.argv) < 5:
try:
periodicLengths = [float(x) for x in sys.argv[1:4]]
pv = np.diag(periodicLengths)
except ValueError:
for input in sys.argv[4:]:
output = stripext(input)[0] + '.vasp'
mol = read(input, format='xyz')
mol.set_pbc(True)
mol.set_cell(pv)
write(output, mol, format='vasp')
------------------------
This will at least give you a place to start.
Cheers,
-Branden