阅读背景:

修改文件名的Linux脚本cp

来源:互联网 

I'm trying to make a sort of recycling bin. I have a delete function which sends the selected file to the recycling bin and adds the location of the directory it was stored in to the file. The problem is when I obtain the location from the script using tail. Although the script works, it renames the file to tail. Could anyone explain why the cp is renaming the file? Here is a snippet from where I believe the problem is:I'm trying to make a sort of recycling bin. I h




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

分享到: