Quote:
Originally Posted by mohit sharma
Hi..i want to create a shell script that will delete only a zero byte .dat file (example :rcv_20122016.dat) with there trigger file (example:rcv_20122016.try) from a directory in linux using loop. Please help..
|
Read the "Question Guidelines" link in my posting signature, and the LQ Rules. We are happy to help you, but we will not write your scripts/do your homework for you. Post what you have written/done/tried on your own, and tell us where you're stuck.
Otherwise, I suggest you look at any of the many thousands of bash scripting tutorials, where you can find sample code to search for files, and how to perform loops.