阅读背景:

仅在目录中编号最高的文件上调用脚本?

来源:互联网 

So what I need to do is go through lots of directories each containing about 5000 numbered files and run an awk script on only the highest numbered file in each one. The files all have the name g091, g092, g093 and so on up to, for instance, g094678. I only want to run the script on the highest one, and it feels like a giant waste of time to get into the directory, look through the whole thing, and then call it specifically on that file. Is there some command I can use to do this for me?So what I need to do is go through lots of dire




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: