7

'*' not working in shellscript

view full story
linux-howto

http://www.unix.com – Hi, To Archive files, I try to move files from one directory to another directory . So i used the below logic, Code: #!/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 :confused::confused: (HowTos)