[项目]命令行工具:简化文件操作

[项目]命令行工具:简化文件操作

[项目]命令行工具:简化文件操作
[code:1]#opfile filename
what do you want to do with filename?
-(o)pen [parameter]
-(d)elete
-(c)opy to [place]
-(m)ove/rename to [place]
-(p)roperty
-(s)ecurity
choose:[]
----------下面是操作---------------------------
choose:o -test      // = filename -test
choose:-d           // = rm filename
choose:c /usr/bin   // = cp filename /usr/bin
choose:m /tmp/t.txt // = mv filename /tmp/t.txt
choose:s rwxr-xrw-  // ------设置了下面的权限
choose:p            // ------出现下面的文字----
-------------------
Filename:/root/test
Type:Unknown
MIME Type:Unknwon
Size:133 KB
Create Time:2004:01:15:thu 08:37:38
Visi tTime:2004:01:18:thu 08:37:38

Owner:root     Read-Write-eXecute
Group:root     Read-------eXecute
Other:         Read Write--------[/code:1]
我是刚入门的,估计能用Shell来做,特发
顶!!!我来试试看!!