Issue in Unix Shell script
BoptyJan 3 2013 — edited Jan 18 2013Hi,
To Archive files, I try to move files from one directory to another directory . So i used the below logic,
*#!/bin/ksh*
*****Archive*****
*mv ${DATA_DIR}/ABC_*.dat ${ARCHIVE}*
So if i give the complete file name its working fine. But if i use '*', im getting the below error,
mv: cannot stat `PATH`: : No such file or directory
Please help me in this.
Thanks,
Bopty
Edited by: Bopty on Jan 3, 2013 11:39 AM