阅读背景:

如何递归删除某种类型的文件

来源:互联网 

I misread the gzip documentation, and now I have to remove a ton of ".gz" files from many directories inside one another. I tried using 'find' to locate all .gz files. However, whenever there's a file with a space in the name, rm interprets that as another file. And whenever there's a dash, rm interprets that as a new flag. I decided to use 'sed' to replace the spaces with "\ " and the space-dashes with "\ -", and here's what I came up with.I misread the gzip documentation, and now I hav




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

分享到: