-
command
tar cf abcd.tar *.prn
There is no *.prn files in the path, eventhough it is creating the abcd.tar.
Can anyone tell me how can i resolve this problem?
command
tar cf abcd.tar *.prn
There is no *.prn files in the path, eventhough it is creating the abcd.tar.
Can anyone tell me how can i resolve this problem?
find `pwd` -name *.prn -exec tar cvf abcd.tar {} \;
Taran's answer is quite wrong. His command will re-create the tar file over and over again with the subsequent file. (It will work if find finds exactly one *.prn file).
So what are you trying to do? Where are these *.prn files?